Re: [PATCH 3/12 2.4] e1000 - use vmalloc for data structures not shared with h/w
From: Herbert Xu (herbert_at_gondor.apana.org.au)
Date: 07/31/04
- Previous message: Sam Ravnborg: "Re: [PATCH] modpost warnings with external modules w/o modversions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: hch@infradead.org (Christoph Hellwig) Date: Sat, 31 Jul 2004 17:38:11 +1000
Christoph Hellwig <hch@infradead.org> 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@gondor.apana.org.au> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Sam Ravnborg: "Re: [PATCH] modpost warnings with external modules w/o modversions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: 2.4.23aa2 (bugfixes and important VM improvements for the high end)
... >> gap page in vmalloc, and to reduce the vmalloc space, so that we can ...
interesting since the pointers are still usable in raw mode, ... don't rate vma
size as critical. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [PATCH] Fixes for prep_zero_page
... > Unable to handle kernel paging request at virtual address ec5d97f4 ...
Is that in vmalloc space? ... > PREEMPT SMP DEBUG_PAGEALLOC ... send the
line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [PATCH] Many groups patch.
... >> The vmalloc space is limited, and the code just gets uglier. ... I'd
be ok with the simplest "kmalloc or too bad" version, but our customers ... My version
uses a struct group_info which has an array of pages. ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - Re: [PATCH][PPC32[NEWBIE] enhancement to virt_to_bus/bus_to_virt (try 2)
... The DMA engine has to decode the virtual address of the ... additional check
is mostly useless anyway (it will only call iopa() ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - Re: [patch] tune vmalloc size
... >> a showstopper problem for them. ... >> doubles the size.
... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel)