lkml.org 
[lkml]   [2022]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v8 22/23] mm: Enable PTE markers by default
Date
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@redhat.com>
---
mm/Kconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/mm/Kconfig b/mm/Kconfig
index 6e7c2d59fa96..3eca34c864c5 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -911,12 +911,14 @@ config ANON_VMA_NAME

config PTE_MARKER
bool "Marker PTEs support"
+ default y

help
Allows to create marker PTEs for file-backed memory.

config PTE_MARKER_UFFD_WP
bool "Marker PTEs support for userfaultfd write protection"
+ default y
depends on PTE_MARKER && HAVE_ARCH_USERFAULTFD_WP

help
--
2.32.0
\
 
 \ /
  Last update: 2022-04-05 04:45    [W:0.279 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site