mm: page_alloc: do not treat a zone that cannot be used for dirty pages as "full"
authorMel Gorman <mgorman@suse.de>
Wed, 4 Jun 2014 23:10:06 +0000 (16:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:08 +0000 (16:54 -0700)
commit800a1e750c7b04c2aa2459afca77e936e01c0029
tree98324d1708bfe2e7730a061b75e9fcfe12dab3ec
parent65bb371984d6a2c909244eb749e482bb40b72e36
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c