Re: [PATCH] Run PCI driver initialization on local node

Christoph Lameter
2005-07-06T20:11:38Z

On Wed, 6 Jul 2005, Andi Kleen wrote:

> > That depends on the architecture. Some do round robin allocs for periods
> > of time during bootup. I think it is better to explicitly place control
>
> slab will usually do the right thing because it has a forced
> local node policy, but __gfp might not.

The slab allocator will do the right thing with the numa slab allocator in
Andrew's tree but not with the one in Linus'tree. The one is Linus tree
will just pickup whatever slab is available irregardless of the node.
Only kmalloc_node will make a reasonable attempt to locate the memory on
a specific node.