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

From: Andi Kleen <[email-masked]>
Date: Wed, 18 May 2005 15:19:34 +0200

Christoph Lameter <[email-masked]> writes:

> On Tue, 17 May 2005, David S. Miller wrote:
>
>> > Because physically contiguous memory is usually better than virtually 
>> > contiguous memory? Any reason that physically contiguous memory will 
>> > break the driver?
>> 
>> The issue is whether size can end up being too large for
>> kmalloc() to satisfy, whereas vmalloc() would be able to
>> handle it.
>
> Oww.. We need a NUMA aware vmalloc for this?  

You can do that already by just changing process NUMA policy temporarily
while calling vmalloc.

-Andi