Move free pages between lists on steal

When a fallback occurs, there will be free pages for one allocation type
stored on the list for another.  When a large steal occurs, this patch will
move all the free pages within one list to the other.

[[email protected]: fix BUG_ON check at move_freepages()]
[[email protected]: Move to using pfn_valid_within()]
Signed-off-by: Mel Gorman <[email protected]>
Cc: Christoph Lameter <[email protected]>
Signed-off-by: Yasunori Goto <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Signed-off-by: Andy Whitcroft <[email protected]>
Cc: Bob Picco <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
1 file changed