mm: page_alloc: do not treat a zone that cannot be used for dirty pages as "full"
commite937b98c04ea762d011f7d4a38ef500bba6875a5
authorMel Gorman <mgorman@suse.de>
Wed, 4 Jun 2014 23:10:06 +0000 (4 16:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jan 2015 01:40:51 +0000 (29 17:40 -0800)
tree78472a8c0f87461767c9c21a7f6fb2a8208431b8
parentc9c1e5d1d2b69554b7c922c88a3b5a7e8c2207c4
mm: page_alloc: do not treat a zone that cannot be used for dirty pages as "full"

commit 800a1e750c7b04c2aa2459afca77e936e01c0029 upstream.

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>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/page_alloc.c