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-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html