On Thu, 15 Jun 2006, Mel Gorman wrote: > > The migrate_pages() function is designed to migrate between arbitrary > > lists of pages (or using a allocation function(mm)). You can use that in > > the non NUMA case without a problem (Hugh Dickins did that to test the > > page migration on SMP as far as I can tell). It was designed after all by > > keeping the needs of memory hotplug in mind. > > > > FWIW, I expect to use the page migration functions for addressing > fragmentation in the page allocator issues at some point in the future. For that you may also want to rely on the new Zoned VM Counters to allow an accurate determination if there are pages in that zone that can be migrated at all.