Re: [PATCH 1/7] mm: introduce simple_malloc()/simple_free()

From: David Miller
Date: Sun Nov 16 2008 - 03:14:54 EST


From: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Date: Sun, 16 Nov 2008 07:49:01 +0300

> On Sun, Nov 16, 2008 at 12:33:15PM +0800, Lai Jiangshan wrote:
> > some subsystem needs vmalloc() when required memory is large.
> > but current kernel has not APIs for this requirement.
>
> It doesn't mean there should be such an API.

If it leads to lots of code duplication, which this case has, that is
enough reason to provide helper functions.
--
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/