]> git.baikalelectronics.ru Git - kernel.git/commit
mm: vmscan: reclaim highmem zone if buffer_heads is over limit
authorMinchan Kim <minchan@kernel.org>
Thu, 28 Apr 2016 23:18:38 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 29 Apr 2016 02:34:04 +0000 (19:34 -0700)
commit1b4b9e46a5b6cab4ea952b01b8c85c09062887f8
tree2608a4a71385ac4326c6db6172fa6ce31b5a2d57
parent09dfefdef67201109fbc29c917e83f5c8b4b65e9
mm: vmscan: reclaim highmem zone if buffer_heads is over limit

We have been reclaimed highmem zone if buffer_heads is over limit but
commit 15cf2da34ac0 ("mm: vmscan: invoke slab shrinkers from
shrink_zone()") changed the behavior so it doesn't reclaim highmem zone
although buffer_heads is over the limit.  This patch restores the logic.

Fixes: 15cf2da34ac0 ("mm: vmscan: invoke slab shrinkers from shrink_zone()")
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c