Commit 94ee86c7 authored by Chen Wandun's avatar Chen Wandun Committed by Yang Yingliang
Browse files

mm/vmscan: dont reclaim anon page when shrink page cache

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


CVE: NA

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

The number of page cache should be limited in a range if
enable CONFIG_MEMORY_RELIABLE, so only page cache instead
of both file + anono page should be reclaimed during page
cache reclaimtion.

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 04ec8364
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment