aboutsummaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-05-12 20:22:58 -0700
committerAndrew Morton <akpm@linux-foundation.org>2022-05-13 07:20:13 -0700
commitd8ff6fde8e88d801b62328883680c202510ed518 (patch)
tree3b2c42dc97abcbce377c40dd53fb9a811410fd02 /mm/migrate.c
parentdrivers: virtio_mem: use pageblock size as the minimum virtio_mem size. (diff)
downloadlinux-dev-d8ff6fde8e88d801b62328883680c202510ed518.tar.xz
linux-dev-d8ff6fde8e88d801b62328883680c202510ed518.zip
mm/vmscan: take min_slab_pages into account when try to call shrink_node
Since commit 6b4f7799c6a5 ("mm: vmscan: invoke slab shrinkers from shrink_zone()"), slab reclaim and lru page reclaim are done together in the shrink_node. So we should take min_slab_pages into account when try to call shrink_node. Link: https://lkml.kernel.org/r/20220425112118.20924-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Huang Ying <ying.huang@intel.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions