[RFC PATCH v3 32/35] mm: Modify move_freepages() to handle pages in the region allocator properly

2013-08-30 Thread Srivatsa S. Bhat
There are situations in which the memory management subsystem needs to move pages from one migratetype to another, such as when setting up the per-zone migrate reserves (where freepages are moved from MIGRATE_MOVABLE to MIGRATE_RESERVE freelists). But the existing code that does freepage movement

[RFC PATCH v3 32/35] mm: Modify move_freepages() to handle pages in the region allocator properly

2013-08-30 Thread Srivatsa S. Bhat
There are situations in which the memory management subsystem needs to move pages from one migratetype to another, such as when setting up the per-zone migrate reserves (where freepages are moved from MIGRATE_MOVABLE to MIGRATE_RESERVE freelists). But the existing code that does freepage movement