Skip to content

userfaultfd: selftests: cleanups and trivial fixes

Peter Xu linux-kselftest linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- add a-bs
- add examples for non-anon tests [Mike]
- use brackets properly for nested ifs [Mike]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3userfaultfd: selftest: cleanup help messagestools/testing/selftests/vm/userfaultfd.c+28 -180 replies
2/3userfaultfd: selftest: generalize read and polltools/testing/selftests/vm/userfaultfd.c+43 -341 reply
3/3userfaultfd: selftest: recycle lock threads firsttools/testing/selftests/vm/userfaultfd.c+6 -50 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMike Rapoport
1/3A-b
2/3A-b
3/3A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] userfaultfd: selftests: cleanups and trivial fixes

v2:
- add a-bs
- add examples for non-anon tests [Mike]
- use brackets properly for nested ifs [Mike]

Recently I wrote some uffd write-protection test for the not-yet-published uffd-wp tree, and I picked these common patches out first for the selftest which even suite for master.

Any feedback is welcomed. Please have a look, thanks.

Peter Xu (3):
userfaultfd: selftest: cleanup help messages
userfaultfd: selftest: generalize read and poll
userfaultfd: selftest: recycle lock threads first

 tools/testing/selftests/vm/userfaultfd.c | 134 +++++++++++++----------
 1 file changed, 77 insertions(+), 57 deletions(-)
Signature · 1 line
2.17.1