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

From: Herbert Xu
Date: Sat Jul 31 2004 - 02:44:51 EST


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