Here is a very rudimentary topology API for NUMA systems. It uses prctl() for the userland calls, and exposes some useful things to userland. It would be nice to expose these simple structures to both users and the kernel itself. Any architecture wishing to use this API simply has to write a .h file that defines the 5 calls defined in core_ibmnumaq.h and include it in asm/mmzone.h. Voila! Instant inclusion in the topology! Enjoy! -Matt