Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] hwloc with Xen system support - v2
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2014-02-01 05:24:00


Le 29/01/2014 18:47, Andrew Cooper a écrit :
> This would be nice, although it would involve some more selection on the
> exclusions. Currently, running Xen excludes all other cpu detection
> methods as they are more likely than not to be wrong.
>
> One solution to this would be to have a "generic" x86 cpuid topology
> generator which must be parametrised with a structure, at which point
> both Xen and the fallback x86 methods can supply appropriate function
> pointers.
>
> This would allow Xen to use the generic topology code while still
> preventing fallback to the x86 topology detection method.

Right, that'd work better, and the code would be nicer.
I'll look at this.

Brice