Re: NUMA aware slab allocator V3

Christoph Lameter
2005-05-17T23:52:46Z

On Tue, 17 May 2005, Matthew Dobson wrote:

> You're right, Dave. The series of #defines at the top resolve to the same
> thing as numa_node_id(). Adding the above #defines will serve only to
> obfuscate the code.

Ok.

> Another thing that will really help, Christoph, would be replacing all your
> open-coded for (i = 0; i < MAX_NUMNODES/NR_CPUS; i++) loops. We have
> macros that make that all nice and clean and (should?) do the right thing
> for various combinations of SMP/DISCONTIG/NUMA/etc. Use those and if they
> DON'T do the right thing, please let me know and we'll fix them ASAP.

Some of that was already done but I can check again.