]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:04 +0000 (11:40 -0700)
commit66d52cb7c42a5df2a6aded5f29dba98ac2882064
tree6d154119840cec22ecaeda4cc76a5d9d412d5e09
parent42274b5f8129467095e8b907b5bc9536caf30fa8
mm: page allocator: reconsider zones for allocation after direct reclaim

commit 76d3fbf8fbf6cc78ceb63549e0e0c5bc8a88f838 upstream.

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>
Cc: Stefan Priebe <s.priebe@profihost.ag>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/page_alloc.c