mm: page allocator: reconsider zones for allocation after direct reclaim
authorMel Gorman <mgorman@suse.de>
Tue, 26 Jul 2011 00:12:30 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:10 +0000 (20:57 -0700)
commit76d3fbf8fbf6cc78ceb63549e0e0c5bc8a88f838
treecebd9474333db6965fe6af7cc3f652d3091b658b
parentcd38b115d5ad79b0100ac6daa103c4fe2c50a913
mm: page allocator: reconsider zones for allocation after direct reclaim

With zone_reclaim_mode enabled, it's possible for zones to be considered
full in the zonelist_cache so they are skipped in the future.  If the
process enters direct reclaim, the ZLC may still consider zones to be full
even after reclaiming pages.  Reconsider all zones for allocation if
direct reclaim returns successfully.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c
This page took 0.024444 seconds and 5 git commands to generate.