[OpenAFS-devel] [PATCH] fix openafs crashes on linux
2.6.10-2.6.12, and all RHEL4 kernels
Chaskiel M Grundman
cg2v@andrew.cmu.edu
Thu, 10 May 2007 11:32:17 -0400
--On Thursday, May 10, 2007 11:19:31 AM -0400 chas williams - CONTRACTOR
<chas@cmf.nrl.navy.mil> wrote:
> which is why we should not be using kmalloc() to allocate huge chunks
> of memory in the first place.
we don't. kmalloc is only used for allocations <= MAX_KMALLOC_SIZE (==
PAGE_SIZE)
> ideally, afs would just use vmalloc for
> everything but early kernels dont have a vmalloc(GFP_NOFS).
doing this would waste vmalloc address space unnecessarily (it is more
scarce than low memory on 32 bit x86).