From: Mike Rapoport <rppt@kernel.org>
To: Kiryl Shutsemau <kirill@shutemov.name>
Cc: alx@kernel.org, linux-man@vger.kernel.org, linux-mm@kvack.org,
akpm@linux-foundation.org, peterx@redhat.com, david@kernel.org,
kernel-team@meta.com
Subject: Re: [PATCH man-pages v1 0/6] userfaultfd: document read-write protect mode
Date: Tue, 26 May 2026 12:30:58 +0300 [thread overview]
Message-ID: <ahVoUsqYBY642VLS@kernel.org> (raw)
In-Reply-To: <20260525122816.1956804-1-kirill@shutemov.name>
On Mon, May 25, 2026 at 01:28:10PM +0100, Kiryl Shutsemau wrote:
> This series documents userfaultfd read-write protection tracking
> (UFFDIO_REGISTER_MODE_RWP), a working-set tracking mechanism for VM
> guest memory landing in Linux 7.2.
>
> The matching kernel series ("userfaultfd: working set tracking for VM
> guest memory") was sent against the mm tree:
> https://lore.kernel.org/all/20260525113737.1942478-1-kas@kernel.org/
The content of the docs looks fine to me.
Leaving groff and organization to Alex :)
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
> == New UAPI documented ==
>
> UFFDIO_REGISTER_MODE_RWP registration-mode bit (UFFDIO_REGISTER.2const)
> UFFD_FEATURE_RWP capability bit (UFFDIO_API.2const)
> UFFD_FEATURE_RWP_ASYNC async resolution (UFFDIO_API.2const)
> UFFDIO_RWPROTECT install/remove RWP (new page)
> UFFDIO_SET_MODE runtime mode toggle (new page)
> UFFD_PAGEFAULT_FLAG_RWP new pagefault.flags bit (userfaultfd.2)
> PAGE_IS_ACCESSED PAGEMAP_SCAN bit (kernel docs only)
>
> == Series layout ==
>
> 1. userfaultfd.2: overview, registration mode entry, new pagefault
> flag, VERSIONS line, and an "Userfaultfd read-write protect mode"
> section.
> 2-3. New UFFDIO_RWPROTECT.2const and UFFDIO_SET_MODE.2const pages.
> 4. UFFDIO_API.2const: UFFD_FEATURE_RWP, UFFD_FEATURE_RWP_ASYNC,
> and 1 << _UFFDIO_SET_MODE.
> 5. UFFDIO_REGISTER.2const: UFFDIO_REGISTER_MODE_RWP and
> 1 << _UFFDIO_RWPROTECT.
> 6. ioctl_userfaultfd.2: reference the two new ioctls.
>
> Order: new pages first so the cross-references in patches 4-6 link
> to pages that already exist.
>
> Kiryl Shutsemau (5):
> UFFDIO_RWPROTECT.2const: New page
> UFFDIO_SET_MODE.2const: New page
> UFFDIO_API.2const: Document UFFD_FEATURE_RWP{,_ASYNC} and 1 <<
> _UFFDIO_SET_MODE
> UFFDIO_REGISTER.2const: Document UFFDIO_REGISTER_MODE_RWP and 1 <<
> _UFFDIO_RWPROTECT
> ioctl_userfaultfd.2: Reference UFFDIO_RWPROTECT and UFFDIO_SET_MODE
>
> Kiryl Shutsemau (Meta) (1):
> userfaultfd.2: Add read-write protect mode
>
> man/man2/ioctl_userfaultfd.2 | 4 +
> man/man2/userfaultfd.2 | 152 +++++++++++++++++++++++++-
> man/man2const/UFFDIO_API.2const | 29 +++++
> man/man2const/UFFDIO_REGISTER.2const | 21 ++++
> man/man2const/UFFDIO_RWPROTECT.2const | 117 ++++++++++++++++++++
> man/man2const/UFFDIO_SET_MODE.2const | 95 ++++++++++++++++
> 6 files changed, 414 insertions(+), 4 deletions(-)
> create mode 100644 man/man2const/UFFDIO_RWPROTECT.2const
> create mode 100644 man/man2const/UFFDIO_SET_MODE.2const
>
>
> base-commit: 9a4bfd0e50745c2649b6291db40b58e37c9c1c6b
> --
> 2.54.0
>
--
Sincerely yours,
Mike.
next prev parent reply other threads:[~2026-05-26 9:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-25 12:28 [PATCH man-pages v1 0/6] userfaultfd: document read-write protect mode Kiryl Shutsemau
2026-05-25 12:28 ` [PATCH man-pages v1 1/6] userfaultfd.2: Add " Kiryl Shutsemau
2026-05-25 13:53 ` Alejandro Colomar
2026-05-25 12:28 ` [PATCH man-pages v1 2/6] UFFDIO_RWPROTECT.2const: New page Kiryl Shutsemau
2026-05-25 12:28 ` [PATCH man-pages v1 3/6] UFFDIO_SET_MODE.2const: " Kiryl Shutsemau
2026-05-25 12:28 ` [PATCH man-pages v1 4/6] UFFDIO_API.2const: Document UFFD_FEATURE_RWP{,_ASYNC} and 1 << _UFFDIO_SET_MODE Kiryl Shutsemau
2026-05-25 14:00 ` Alejandro Colomar
2026-05-25 14:03 ` Alejandro Colomar
2026-05-25 12:28 ` [PATCH man-pages v1 5/6] UFFDIO_REGISTER.2const: Document UFFDIO_REGISTER_MODE_RWP and 1 << _UFFDIO_RWPROTECT Kiryl Shutsemau
2026-05-25 12:28 ` [PATCH man-pages v1 6/6] ioctl_userfaultfd.2: Reference UFFDIO_RWPROTECT and UFFDIO_SET_MODE Kiryl Shutsemau
2026-05-26 9:30 ` Mike Rapoport [this message]
2026-05-26 12:41 ` [PATCH man-pages v1 0/6] userfaultfd: document read-write protect mode Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ahVoUsqYBY642VLS@kernel.org \
--to=rppt@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=alx@kernel.org \
--cc=david@kernel.org \
--cc=kernel-team@meta.com \
--cc=kirill@shutemov.name \
--cc=linux-man@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=peterx@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox