netdev
[Top] [All Lists]

Re: [PATCH 3/12 2.4] e1000 - use vmalloc for data structures not shared

To: hch@xxxxxxxxxxxxx (Christoph Hellwig)
Subject: Re: [PATCH 3/12 2.4] e1000 - use vmalloc for data structures not shared with h/w
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 31 Jul 2004 17:38:11 +1000
Cc: ganesh.venkatesan@xxxxxxxxx, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20040729192519.A6235@xxxxxxxxxxxxx>
Organization: Core
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.26-1-686-smp (i686))
Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Thu, Jul 29, 2004 at 11:17:08AM -0700, Venkatesan, Ganesh wrote:
>> Vmalloc space is less scarce than kmalloc space. Am I right? This patch
>> trades kmalloc space for vmalloc space.
> 
> No, it's not.  vmalloc needs virtual space that's rather limited (e.g. 64MB
> on PAE x86) in addition to physical memory.  Unless you do really big
> allocations stay away from vmalloc.

How big is really big? 64K? 256K? 1M?

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

<Prev in Thread] Current Thread [Next in Thread>