[PATCH] jffs2 summary allocation

Andrew Morton akpm at linux-foundation.org
Fri Apr 4 23:27:04 EDT 2008


On Fri, 4 Apr 2008 19:41:34 -0700 David Brownell <david-b at pacbell.net> wrote:

> On Friday 04 April 2008, Andrew Morton wrote:
> > This problem comes up pretty often. 
> 
> Which problem -- kmalloc(BIG)?  Or dma(dma-unsafe-mem)?
> Or something else?

Code needing a large amount of memory, trying to kmalloc it, then getting
into trouble, them using vmalloc, then getting into more trouble.

This is kernel - order-0 allocations will always be the most robust.



More information about the linux-mtd mailing list