summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mm/Kconfig8
1 files changed, 5 insertions, 3 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 71c653260a44..fd6c9fe4b6ed 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -910,14 +910,16 @@ config ANON_VMA_NAME
difference in their name.
config PTE_MARKER
- bool "Marker PTEs support"
+ bool
help
Allows to create marker PTEs for file-backed memory.
config PTE_MARKER_UFFD_WP
- bool "Marker PTEs support for userfaultfd write protection"
- depends on PTE_MARKER && HAVE_ARCH_USERFAULTFD_WP
+ bool "Userfaultfd write protection support for shmem/hugetlbfs"
+ default y
+ depends on HAVE_ARCH_USERFAULTFD_WP
+ select PTE_MARKER
help
Allows to create marker PTEs for userfaultfd write protection