]> 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)
commit98365ca980de995fba4a3d2d5dff998b5f4892e2
tree2608a4a71385ac4326c6db6172fa6ce31b5a2d57
parent76dc4d7a36939d264c186ec3a63e21c48636f104
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 d3db6a53b2df ("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: d3db6a53b2df ("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