mbox series

[0/3] userfaultfd: minor bug fixes

Message ID 20210808020724.1022515-1-namit@vmware.com (mailing list archive)
Headers show
Series userfaultfd: minor bug fixes | expand

Message

Nadav Amit Aug. 8, 2021, 2:07 a.m. UTC
From: Nadav Amit <namit@vmware.com>

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(-)