Re: NUMA aware slab allocator V2

Christoph Lameter
2005-05-18T01:08:27Z

On Tue, 17 May 2005, Matthew Dobson wrote:

> Also, there is a similar loop for CPUs which should be replaced with
> for_each_online_cpu(i).
>
> These for_each_FOO macros are cleaner and less likely to break in the
> future, since we can simply modify the one definition if the way to
> itterate over nodes/cpus changes, rather than auditing 100 open coded
> implementations and trying to determine the intent of the loop's author.

Ok. Done.