linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nadav Amit <nadav.amit@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Pavel Emelyanov <xemul@parallels.com>,
	Mike Rapoport <rppt@linux.vnet.ibm.com>,
	Peter Xu <peterx@redhat.com>,
	linux-mm@kvack.org, linux-fsdevel@vger.kernel.org,
	Nadav Amit <namit@vmware.com>
Subject: [PATCH 0/3] userfaultfd: minor bug fixes
Date: Sat,  7 Aug 2021 19:07:21 -0700	[thread overview]
Message-ID: <20210808020724.1022515-1-namit@vmware.com> (raw)

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

-- 
2.25.1



             reply	other threads:[~2021-08-08  2:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-08  2:07 Nadav Amit [this message]
2021-08-08  2:07 ` [PATCH 1/3] userfaultfd: change mmap_changing to atomic Nadav Amit
2021-08-08  2:07 ` [PATCH 2/3] userfaultfd: prevent concurrent API initialization Nadav Amit
2021-08-08  2:07 ` [PATCH 3/3] selftests/vm/userfaultfd: wake after copy failure Nadav Amit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210808020724.1022515-1-namit@vmware.com \
    --to=nadav.amit@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=namit@vmware.com \
    --cc=peterx@redhat.com \
    --cc=rppt@linux.vnet.ibm.com \
    --cc=xemul@parallels.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).