lkml.org 
[lkml]   [2022]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v8 22/23] mm: Enable PTE markers by default
Hi Peter,

On Tue, Apr 19, 2022 at 03:59:21PM -0400, Peter Xu wrote:
> @@ -910,16 +910,16 @@ config ANON_VMA_NAME
> difference in their name.
>
> config PTE_MARKER
> - bool "Marker PTEs support"
> - default y
> + bool
>
> help
> Allows to create marker PTEs for file-backed memory.
>
> config PTE_MARKER_UFFD_WP
> - bool "Marker PTEs support for userfaultfd write protection"
> + bool "Userfaultfd write protection support for shmem/hugetlbfs"
> default y
> - depends on PTE_MARKER && HAVE_ARCH_USERFAULTFD_WP
> + depends on HAVE_ARCH_USERFAULTFD_WP
> + select PTE_MARKER

This is much easier to understand, thanks!

Btw, this doesn't do much without userfaultfd being enabled in
general, right? Would it make sense to have it next to 'config
USERFAULTFD' as a sub-option?

\
 
 \ /
  Last update: 2022-04-19 22:15    [W:0.107 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site