euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8T1MB?from=project-issue CVE: NA
-------------------------------------------------
etmem scan is a critical part of the etmem feature. A kernel module, etmem_scan.ko periodically scans the appointed vma segments of the target process, perform page table walk accordingly, check and clear the access bit of each page before finally report scan results back to user space.
Signed-off-by: Yuchen Tang tangyuchen5@huawei.com --- mm/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/mm/Kconfig b/mm/Kconfig index 13c23ec11639..953294de4c12 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -1374,6 +1374,17 @@ config DYNAMIC_POOL A per-memcg pagepool. The task in the memcg will prefer to alloc pages from corresponding pool.
+config ETMEM_SCAN + tristate "module: etmem page scan for etmem support" + depends on ETMEM + help + etmem scan is a critical part of the etmem feature. + A kernel module, etmem_scan.ko periodically scans the appointed vma + segments of the target process, perform page table walk accordingly, + check and clear the access bit of each page before finally reporting + scan results back to user space. + etmem scan also supports virtual machine. + config ETMEM bool "Enable etmem feature" depends on MMU