include/linux/page_cache_limit.h
0 → 100644
+7
−0
+13
−0
+1
−0
mm/page_cache_limit.c
0 → 100644
+148
−0
Loading
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I4HOXK CVE: NA -------------------------------- Adding periodical memory reclaim support, there are three new interfaces: 1) /proc/sys/vm/cache_reclaim_s --- used to set reclaim interval 2) /proc/sys/vm/cache_reclaim_weight --- used to calculate reclaim amount 3) /proc/sys/vm/cache_reclaim_enable --- used to switch on/off this feature Signed-off-by:Chen Wandun <chenwandun@huawei.com> Reviewed-by:
Tong Tiangen <tongtiangen@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>