[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210304161243.GA397383@xz-x1>
Date: Thu, 4 Mar 2021 11:12:43 -0500
From: Peter Xu <peterx@...hat.com>
To: linux-man@...r.kernel.org
Cc: Mike Rapoport <rppt@...ux.vnet.ibm.com>,
Nadav Amit <nadav.amit@...il.com>,
linux-kernel@...r.kernel.org,
Linux MM Mailing List <linux-mm@...ck.org>,
Axel Rasmussen <axelrasmussen@...gle.com>,
Alejandro Colomar <alx.manpages@...il.com>,
Andrea Arcangeli <aarcange@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Michael Kerrisk <mtk.manpages@...il.com>
Subject: Re: [PATCH 4/4] ioctl_userfaultfd.2: Add write-protect mode docs
On Wed, Mar 03, 2021 at 08:59:47PM -0500, Peter Xu wrote:
> Userfaultfd write-protect mode is supported starting from Linux 5.7.
>
> Signed-off-by: Peter Xu <peterx@...hat.com>
> ---
> man2/ioctl_userfaultfd.2 | 74 +++++++++++++++++++++++++++++++++++++---
> 1 file changed, 70 insertions(+), 4 deletions(-)
>
> diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2
> index 1965d1932..3feb888a8 100644
> --- a/man2/ioctl_userfaultfd.2
> +++ b/man2/ioctl_userfaultfd.2
> @@ -208,10 +208,11 @@ signal will be sent to the faulting process.
> Applications using this
> feature will not require the use of a userfaultfd monitor for processing
> memory accesses to the regions registered with userfaultfd.
> +.TP
> .BR UFFD_FEATURE_THREAD_ID " (since Linux 4.14)"
> If this feature bit is set,
> .I uffd_msg.pagefault.feat.ptid
> -Will be set
> +will be set to the faulted thread ID for each page fault message.
These two changes should belong to the previous patch - will get them fixed
too.
--
Peter Xu
Powered by blists - more mailing lists