提交 59abec29 编写于 作者: L liubo 提交者: Zheng Zengkai

add ETMEM feature CONFIG to mm/Kconfig

euleros inclusion
category: feature
feature: etmem
bugzilla: https://gitee.com/openeuler/kernel/issues/I5DC4A

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

etmem, the memory vertical expansion technology,
uses DRAM and high-performance storage new media to form multi-level
memory storage.

The etmem feature was introduced in the previous commit
(aa7f1d22),but only the config
options for the etmem_swap and etmem_scan modules were added,
and the config options for the etmem feature were not added,
so in this commit, the CONFIG_ETMEM option for
the etmem feature was added
Signed-off-by: Nliubo <liubo254@huawei.com>
Reviewed-by: NMiaohe Lin <linmiaohe@huawei.com>
Reviewed-by: NKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 3bd04309
...@@ -514,18 +514,28 @@ config MEMCG_QOS ...@@ -514,18 +514,28 @@ config MEMCG_QOS
config ETMEM_SCAN config ETMEM_SCAN
tristate "module: etmem page scan for etmem support" tristate "module: etmem page scan for etmem support"
depends on MMU depends on ETMEM
depends on X86 || ARM64
help help
etmem page scan feature etmem page scan feature
used to scan the virtual address of the target process used to scan the virtual address of the target process
config ETMEM_SWAP config ETMEM_SWAP
tristate "module: etmem page swap for etmem support" tristate "module: etmem page swap for etmem support"
depends on ETMEM
help
etmem page swap feature
config ETMEM
bool "Enable etmem feature"
depends on MMU depends on MMU
depends on X86 || ARM64 depends on X86 || ARM64
default n
help help
etmem page swap feature etmem is a tiered memory extension technology that uses DRAM and memory
compression/high-performance storage media to form tiered memory storage.
Memory data is tiered, and cold data is migrated from memory media to
high-performance storage media to release memory space and reduce
memory costs.
config USERSWAP config USERSWAP
bool "Enable User Swap" bool "Enable User Swap"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册