]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: page_alloc: do not treat a zone that cannot be used for dirty pages as "full"
authorMel Gorman <mgorman@suse.de>
Wed, 14 May 2014 00:02:15 +0000 (10:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:02:15 +0000 (10:02 +1000)
commit16b31dc4c5ed0df9c8dd0fa1001c4ef549eeb669
tree8b613937f43d84924e0dd359f17e1f2623ad67e0
parente7d03e40ceb1dd2ae5bbed9553c36da77fb56529
mm: page_alloc: do not treat a zone that cannot be used for dirty pages as "full"

If a zone cannot be used for a dirty page then it gets marked "full" which
is cached in the zlc and later potentially skipped by allocation requests
that have nothing to do with dirty zones.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c