summaryrefslogtreecommitdiffstats
path: root/mm/gup.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2019-02-12 15:35:55 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-02-12 16:33:18 -0800
commita9a238e83fbb0df31c3b9b67003f8f9d1d1b6c96 (patch)
treeab0147d01c6811057a09904503941243474b0136 /mm/gup.c
parent69056ee6a8a3d576ed31e38b3b14c70d6c74edcc (diff)
downloadlinux-stable-a9a238e83fbb0df31c3b9b67003f8f9d1d1b6c96.tar.gz
linux-stable-a9a238e83fbb0df31c3b9b67003f8f9d1d1b6c96.tar.bz2
linux-stable-a9a238e83fbb0df31c3b9b67003f8f9d1d1b6c96.zip
Revert "mm: slowly shrink slabs with a relatively small number of objects"
This reverts commit 172b06c32b9497 ("mm: slowly shrink slabs with a relatively small number of objects"). This change changes the agressiveness of shrinker reclaim, causing small cache and low priority reclaim to greatly increase scanning pressure on small caches. As a result, light memory pressure has a disproportionate affect on small caches, and causes large caches to be reclaimed much faster than previously. As a result, it greatly perturbs the delicate balance of the VFS caches (dentry/inode vs file page cache) such that the inode/dentry caches are reclaimed much, much faster than the page cache and this drives us into several other caching imbalance related problems. As such, this is a bad change and needs to be reverted. [ Needs some massaging to retain the later seekless shrinker modifications.] Link: http://lkml.kernel.org/r/20190130041707.27750-3-david@fromorbit.com Fixes: 172b06c32b9497 ("mm: slowly shrink slabs with a relatively small number of objects") Signed-off-by: Dave Chinner <dchinner@redhat.com> Cc: Wolfgang Walter <linux@stwm.de> Cc: Roman Gushchin <guro@fb.com> Cc: Spock <dairinin@gmail.com> Cc: Rik van Riel <riel@surriel.com> Cc: Michal Hocko <mhocko@kernel.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions