aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/compaction.h
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2014-12-10 15:43:20 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-10 17:41:06 -0800
commit1da58ee2a0279a1b0afd3248396de5659b8cf95b (patch)
tree1c0aec90fdb49d4caf7a5de3da700e76a4e41c46 /include/linux/compaction.h
parentmm: verify compound order when freeing a page (diff)
downloadwireguard-linux-1da58ee2a0279a1b0afd3248396de5659b8cf95b.tar.xz
wireguard-linux-1da58ee2a0279a1b0afd3248396de5659b8cf95b.zip
mm: vmscan: count only dirty pages as congested
shrink_page_list() counts all pages with a mapping, including clean pages, toward nr_congested if they're on a write-congested BDI. shrink_inactive_list() then sets ZONE_CONGESTED if nr_dirty == nr_congested. Fix this apples-to-oranges comparison by only counting pages for nr_congested if they count for nr_dirty. Signed-off-by: Jamie Liu <jamieliu@google.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Greg Thelen <gthelen@google.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/compaction.h')
0 files changed, 0 insertions, 0 deletions