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

From: Christoph Lameter
Date: Wed Jul 06 2005 - 15:15:14 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/