]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9a9c73e8d3040bcae91e9529b4757f1a6a448f5
treecebd9474333db6965fe6af7cc3f652d3091b658b
parent1efcf7b8e38bb37530b33af0ee01b7e6e79bd3e4
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