Greetings and Salutations, Sorry about the cross-post, but this patch should be of interest to both lists. Attatched is a copy of my implementation of the NUMA API that I would like to see included in the mainline kernel. The NUMA API is an API designed to facilitate using NUMA machines. The complete API is specified at: http://lse.sourceforge.net/numa/numa_api.html The patch facilitates the binding of processes to particular CPUs, groups of CPUs, nodes, and/or memory blocks. It also allows for a rudimentary form of topology discovery via the xxx_to_node() and node_to_xxx() calls. The API is currently implemented through prctl() calls, although I do have a version that uses syscalls instead if anyone is interested in that. The patch is against 2.5.11, although it has only been tested on 2.5.8, because 2.5.[9-11] do not boot on our NUMA-Q boxen. I will be having a look at that problem now that I've finished this. Having looked through changelogs, I do not see any code that would break the patch, and it applies cleanly. Some of the code is only useful if CONFIG_DISCONTIGMEM and/or CONFIG_NUMA is turned on, like the memory allocation changes... As always, questions, comments, and criticism welcome! -Matt colpatch@us.ibm.com