summaryrefslogtreecommitdiffstats
path: root/mm/nobootmem.c
diff options
context:
space:
mode:
authorVladimir Davydov <vdavydov@parallels.com>2014-01-24 00:53:23 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 01:36:52 +0100
commitec97097bca147d5718a5d2c024d1ec740b10096d (patch)
tree0398f0eb71bf85f8eaaa6712abe6c57589a8c6f7 /mm/nobootmem.c
parentmm: vmscan: shrink all slab objects if tight on memory (diff)
downloadlinux-ec97097bca147d5718a5d2c024d1ec740b10096d.tar.xz
linux-ec97097bca147d5718a5d2c024d1ec740b10096d.zip
mm: vmscan: call NUMA-unaware shrinkers irrespective of nodemask
If a shrinker is not NUMA-aware, shrink_slab() should call it exactly once with nid=0, but currently it is not true: if node 0 is not set in the nodemask or if it is not online, we will not call such shrinkers at all. As a result some slabs will be left untouched under some circumstances. Let us fix it. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Reported-by: Dave Chinner <dchinner@redhat.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Michal Hocko <mhocko@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Rik van Riel <riel@redhat.com> Cc: Glauber Costa <glommer@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions