Skip to content

userfaultfd: minor bug fixes

Nadav Amit io-uring linux-fsdevel linux-mm lkml 1 version Applied

Status from this message: [merged] selftests-vm-userfaultfd-wake-after-copy-failure.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3userfaultfd: change mmap_changing to atomicfs/userfaultfd.c include/linux/userfaultfd_k.h mm/userfaultfd.c+25 -230 repliesApplied
2/3userfaultfd: prevent concurrent API initializationfs/userfaultfd.c+44 -470 repliesApplied
3/3selftests/vm/userfaultfd: wake after copy failuretools/testing/selftests/vm/userfaultfd.c+13 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] userfaultfd: minor bug fixes

From: Nadav Amit <[email protected]>

Three unrelated bug fixes. The first two addresses possible issues (not too theoretical ones), but I did not encounter them in practice.

The third patch addresses a test bug that causes the test to fail on my system. It has been sent before as part of a bigger RFC.

Nadav Amit (3):
userfaultfd: change mmap_changing to atomic
userfaultfd: prevent concurrent API initialization selftests/vm/userfaultfd: wake after copy failure

 fs/userfaultfd.c                         | 116 +++++++++++------------
 include/linux/userfaultfd_k.h            |   8 +-
 mm/userfaultfd.c                         |  15 +--
 tools/testing/selftests/vm/userfaultfd.c |  13 +++
 4 files changed, 82 insertions(+), 70 deletions(-)
Signature · 1 line
2.25.1