Re: [PATCHv7 08/10] mm: cma: Contiguous Memory Allocator added
From: KAMEZAWA Hiroyuki
Date: Tue Dec 14 2010 - 18:56:56 EST
On Tue, 14 Dec 2010 11:23:15 +0100
Michal Nazarewicz <mina86@xxxxxxxxxx> 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
--
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/