[PATCHv7 08/10] mm: cma: Contiguous Memory Allocator added

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Tue Dec 14 18:50:47 EST 2010


On Tue, 14 Dec 2010 11:23:15 +0100
Michal Nazarewicz <mina86 at mina86.com> wrote:

> > Hmm, it seems __cm_alloc() and __cm_migrate() has no special codes for CMA.
> > I'd like reuse this for my own contig page allocator.
> > So, could you make these function be more generic (name) ?
> > as
> > 	__alloc_range(start, size, mirate_type);
> >
> > Then, what I have to do is only to add "search range" functions.
> 
> Sure thing.  I'll post it tomorrow or Friday. How about
> alloc_contig_range() maybe?
> 

That sounds great. Thank you.

-Kame




More information about the linux-arm-kernel mailing list