From 8801c2c7c234806c1faa303c6786eb320ae43c9a Mon Sep 17 00:00:00 2001 From: liubo Date: Fri, 16 Jul 2021 10:09:02 +0800 Subject: [PATCH] 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: liubo Reviewed-by: jingxiangfeng 00447129 Signed-off-by: Zheng Zengkai --- lib/Kconfig | 11 ----------- mm/Kconfig | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index cb5e620bf100..b46a9fd122c8 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -660,17 +660,6 @@ config PARMAN config OBJAGG 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 tristate "Test string functions" diff --git a/mm/Kconfig b/mm/Kconfig index e76ecfae6d45..398ddb19155e 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -498,6 +498,21 @@ config MEMCG_QOS 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 bool "Contiguous Memory Allocator" depends on MMU -- GitLab