Thread (15 messages) 15 messages, 7 authors, 2005-05-30

Re: [PATCH] NUMA aware allocation of transmit and receive buffers for e1000

From: Andi Kleen <hidden>
Date: 2005-05-30 09:41:07

On Fri, May 27, 2005 at 02:15:55PM -0700, Christoph Lameter wrote:
On Wed, 18 May 2005, Eric Dumazet wrote:
quoted
Related question, is pci_alloc_consistent() already NUMA aware ?
Nope. It also ultimately acquires memory via vmalloc.
x86-64 vmalloc has been NUMA aware forever.
I believe the HP BigTux patchkit for IA64 added it there too, although
it might not have hit mainline.
pci_alloc_consistent will also need some rework to allocate memory 
consistent (well the name is coherent right?) with the node that the 
device is on. Second case of a need for a node aware vmalloc?
You can already have it today by temporarily changing the process
mempolicy. However for pci_alloc_consistent just using alloc_pages_node
directly seems to work fine. 

-Andi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help