"hwloc working [...] as a linux driver": do you mean that you want hwloc inside the Linux kernel? If you just want hwloc features inside the Linux kernel, you may not strictly need hwloc since hwloc basically just reports what the Linux kernel puts in /sys and /proc. Reading the Linux code that implements these virtual files will give you the locality information you need. If you tell me which locality information you want, I may be able to tell you.
If having things organized as a tree is strictly important, Linux won't be able to directly help you, you may need some actual hwloc code, but porting that into the Linux kernel will require a lot of work.
If that's not what you want, we need more details about what you're trying to do.

Le 13/05/2013 18:27, Pankaj Kumar Biswas a écrit :




I want to know how I can get hwloc working  under xen hypervisor as a  linux driver. What modules/functions from hwloc code base I need to do the same?

Any help would be really appreciated.



Thanks & Regards,



hwloc-devel mailing list