lkml.org 
[lkml]   [2005]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Run PCI driver initialization on local node
> > > 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-07 16:21    [W:0.224 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site