On Wed, Oct 13, 2010 at 12:18 PM, KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote: > From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> > > Add an function to allocate contigous memory larger than MAX_ORDER. > The main difference between usual page allocater is that this uses > memory offline techiqueue (Isoalte pages and migrate remaining pages.). > > I think this is not 100% solution because we can't avoid fragmentation, > but we have kernelcore= boot option and can create MOVABLE zone. That > helps us to allow allocate a contigous range on demand. > > Maybe drivers can alloc contig pages by bootmem or hiding some memory > from the kernel at boot. But if contig pages are necessary only in some > situation, kernelcore= boot option and using page migration is a choice