提交 c518784a 编写于 作者: C Cheng Jian

config/x86: enable SHRINK_PAGECACHE

hulk inclusion
category: bugfix
bugzilla: https://bugzilla.openeuler.org/show_bug.cgi?id=20
CVE: NA

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

SHRINK_PAGECACHE means that we do not want to keep the large
number of page cache in the system, Even though it will greatly
improve the performance of the machine. It is asked by the user
to keep the free memory as much as possible. Apparently, it will
influence the informace.

This prevents the pagecache from consuming too much memory. enable
CONFIG_SHRINK_PAGECACHE this time.
Signed-off-by: NCheng Jian <cj.chengjian@huawei.com>
Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: NCheng Jian <cj.chengjian@huawei.com>
上级 48bae61b
......@@ -995,6 +995,7 @@ CONFIG_THP_SWAP=y
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
CONFIG_CLEANCACHE=y
CONFIG_FRONTSWAP=y
CONFIG_SHRINK_PAGECACHE=y
# CONFIG_CMA is not set
CONFIG_MEM_SOFT_DIRTY=y
CONFIG_ZSWAP=y
......
......@@ -992,7 +992,7 @@ CONFIG_THP_SWAP=y
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
CONFIG_CLEANCACHE=y
CONFIG_FRONTSWAP=y
# CONFIG_SHRINK_PAGECACHE is not set
CONFIG_SHRINK_PAGECACHE=y
# CONFIG_CMA is not set
CONFIG_MEM_SOFT_DIRTY=y
CONFIG_ZSWAP=y
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册