Commit 25d463b5 authored by Chen Wandun's avatar Chen Wandun Committed by Yang Yingliang
Browse files

mm/vmscan: dont do shrink_slab in reclaim page cache

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4SK3S


CVE: NA

--------------------------------

If page cache is over limit, it will trigger page cache reclaimation,
only page cache should be reclaimed, but slab will be reclaimed by
default in shrink_node, so disable shrink_slab by adding a control
parameter in scan_control.

Signed-off-by: default avatarChen Wandun <chenwandun@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 94ee86c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment