Bias the placement of kernel pages at lower PFNs
commit5adc5be7cd1bcef6bb64f5255d2a33f20a3cf5be
authorMel Gorman <mel@csn.ul.ie>
Tue, 16 Oct 2007 08:25:54 +0000 (16 01:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:00 +0000 (16 09:43 -0700)
tree39ed023e8c36cde0c0f9cba50f945e77d3ca26fa
parent9ef9acb05a741ec10a5e9122717736de12adced9
Bias the placement of kernel pages at lower PFNs

This patch chooses blocks with lower PFNs when placing kernel allocations.
This is particularly important during fallback in low memory situations to
stop unmovable pages being placed throughout the entire address space.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c