[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081116.001444.97681353.davem@davemloft.net>
Date: Sun, 16 Nov 2008 00:14:44 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: laijs@...fujitsu.com, akpm@...ux-foundation.org, menage@...gle.com,
kamezawa.hiroyu@...fujitsu.com, balbir@...ux.vnet.ibm.com,
jens.axboe@...cle.com, jack@...e.cz, jes@....com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/7] mm: introduce simple_malloc()/simple_free()
From: Alexey Dobriyan <adobriyan@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists