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

From: Andi Kleen
Date: Thu Jul 07 2005 - 09:19:10 EST


> > > Only kmalloc_node will make a reasonable attempt to locate the memory on
> > > a specific node.
> >
> > You forgot __get_free_pages.
>
> The slab allocator uses alloc_pages and alloc_pages_node

alloc_pages is NUMA aware. __get_free_pages is just a wrapper for it.

-Andi
-
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/