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?