]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm: enable PTE markers by default
authorPeter Xu <peterx@redhat.com>
Thu, 14 Apr 2022 19:16:53 +0000 (12:16 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 14 Apr 2022 21:49:52 +0000 (17:49 -0400)
Enable PTE markers by default.  On x86_64 it means it'll auto-enable
PTE_MARKER_UFFD_WP as well.

Link: https://lkml.kernel.org/r/20220405014929.15158-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/Kconfig

index 71c653260a4455852c259a5f239fa99f66afd75b..2cfaad24358bda188bc284cf73f4afdaa9c4a65b 100644 (file)
@@ -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