diff --git a/lib/Kconfig b/lib/Kconfig index cb5e620bf10045db84f1f2f24caf4c8f48c4f068..b46a9fd122c81acabd888e8b250e78be4f575ef6 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 e76ecfae6d456e9e6bfc79110eb02cafb9c8bb29..398ddb19155eecbd2ce0c34a2cbf5ea4c0103c40 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