Skip to content

userfaultfd man page updates

Axel Rasmussen linux-man linux-mm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v25 patches 11 repliesSuperseded
  3. v110 patches 21 repliesSuperseded

Changes in v3 from the cover letter

- Rebased onto updated contrib branch.
- In patch 2 (patch 4 in v2), reordered error codes in alphabetical order, and fixed extra spacing in the EINVAL error description.
- In patch 3, fix mistakenly copy-pasted "struct uffdio_continue" (should have been "struct uffdio_poison"), and alphabetically order UFFDIO_CONTINUE error codes.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ioctl_userfaultfd.2: clarify the state of the uffdio_api structure on errorman2/ioctl_userfaultfd.2+8 -81 reply
2/3ioctl_userfaultfd.2: fix / update UFFDIO_REGISTER error code listman2/ioctl_userfaultfd.2+19 -141 reply
3/3ioctl_userfaultfd.2: document new UFFDIO_POISON ioctlman2/ioctl_userfaultfd.2+118 -61 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMike Rapoport (IBM)
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] userfaultfd man page updates

This series includes only the remaining patches not applied from v1/v2, with review comments addressed. This series is based on the "contrib" branch [1].

Changelog:

v2->v3:
- Rebased onto updated contrib branch.
- In patch 2 (patch 4 in v2), reordered error codes in alphabetical order, and fixed extra spacing in the EINVAL error description.
- In patch 3, fix mistakenly copy-pasted "struct uffdio_continue" (should have been "struct uffdio_poison"), and alphabetically order UFFDIO_CONTINUE error codes.

v1->v2:
- In patch 1 (patch 5 in v1), change "after" to "since" for consistency and to be clear that we mean 4.11+ (inclusive).
- In patch 2 (patch 7 in v1), reorder error codes alphabetically (EINVAL then EPERM).
- In patch 3 (patch 8 in v1), resolve conflicts with earlier review comments.

Original cover letter:

Various updates for userfaultfd man pages. To summarize the changes:

- Correctly / fully describe the two-step feature support handshake process.
- Describe new UFFDIO_POISON ioctl.
- Other small improvements (missing ioctls, error codes, etc).

[1]: https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/log/?h=contrib

Axel Rasmussen (3):
ioctl_userfaultfd.2: clarify the state of the uffdio_api structure on
error
ioctl_userfaultfd.2: fix / update UFFDIO_REGISTER error code list ioctl_userfaultfd.2: document new UFFDIO_POISON ioctl

 man2/ioctl_userfaultfd.2 | 173 ++++++++++++++++++++++++++++++++-------
 1 file changed, 145 insertions(+), 28 deletions(-)

--
2.42.0.655.g421f12c284-goog