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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>