Re: [PATCH] jffs2 summary allocation

From: Andrew Morton
Date: Fri Apr 04 2008 - 23:28:02 EST


On Fri, 4 Apr 2008 19:41:34 -0700 David Brownell <david-b@xxxxxxxxxxx> 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.
--
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/