From: Nadav Amit <namit@xxxxxxxxxx> 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(-) -- 2.25.1