提交 8801c2c7 编写于 作者: L liubo 提交者: Zheng Zengkai

move ETMEM feature CONFIG to mm/Kconfig and add architecture dependency

euleros inclusion
category: feature
feature: etmem
bugzilla: 48246

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

The original etmem feature failed to compile a specific architecture,
for example, powerpc, because the architecture is not specified.

This patch is move ETMEM feature CONFIG to mm/Kconfig and add
architecture.
Signed-off-by: Nliubo <liubo254@huawei.com>
Reviewed-by: Njingxiangfeng 00447129 <jingxiangfeng@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 a53b5270
...@@ -660,17 +660,6 @@ config PARMAN ...@@ -660,17 +660,6 @@ config PARMAN
config OBJAGG config OBJAGG
tristate "objagg" if COMPILE_TEST tristate "objagg" if COMPILE_TEST
config ETMEM_SCAN
tristate "module: etmem page scan for etmem support"
help
etmem page scan feature
used to scan the virtual address of the target process
config ETMEM_SWAP
tristate "module: etmem page swap for etmem support"
help
etmem page swap feature
config STRING_SELFTEST config STRING_SELFTEST
tristate "Test string functions" tristate "Test string functions"
......
...@@ -498,6 +498,21 @@ config MEMCG_QOS ...@@ -498,6 +498,21 @@ config MEMCG_QOS
If unsure, say "n". If unsure, say "n".
config ETMEM_SCAN
tristate "module: etmem page scan for etmem support"
depends on MMU
depends on X86 || ARM64
help
etmem page scan feature
used to scan the virtual address of the target process
config ETMEM_SWAP
tristate "module: etmem page swap for etmem support"
depends on MMU
depends on X86 || ARM64
help
etmem page swap feature
config CMA config CMA
bool "Contiguous Memory Allocator" bool "Contiguous Memory Allocator"
depends on MMU depends on MMU
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册