[PATCH v6 22/23] mm: Enable PTE markers by default

From: Peter Xu
Date: Mon Nov 15 2021 - 03:07:00 EST


Enable PTE markers by default. On x86_64 it means it'll auto-enable
PTE_MARKER_UFFD_WP as well.

Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
---
mm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/Kconfig b/mm/Kconfig
index f01c8e0afadf..401e4dff5f42 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -898,7 +898,7 @@ config SECRETMEM
def_bool ARCH_HAS_SET_DIRECT_MAP && !EMBEDDED

config PTE_MARKER
- def_bool n
+ def_bool y
bool "Marker PTEs support"

help
--
2.32.0