[PATCH 0/5] userfaultfd: extension for non cooperative uffd usage

From: Mike Rapoport
Date: Sun Mar 20 2016 - 08:42:44 EST


Hi,

This set is to address the issues that appear in userfaultfd usage
scenarios when the task monitoring the uffd and the mm-owner do not
cooperate to each other on VM changes such as remaps, madvises and
fork()-s.

The pacthes are essentially the same as in the prevoious respin (1),
they've just been rebased on the current tree.

[1] http://thread.gmane.org/gmane.linux.kernel.mm/132662

Pavel Emelyanov (5):
uffd: Split the find_userfault() routine
uffd: Add ability to report non-PF events from uffd descriptor
uffd: Add fork() event
uffd: Add mremap() event
uffd: Add madvise() event for MADV_DONTNEED request

fs/userfaultfd.c | 319 ++++++++++++++++++++++++++++++++++++++-
include/linux/userfaultfd_k.h | 41 +++++
include/uapi/linux/userfaultfd.h | 28 +++-
kernel/fork.c | 10 +-
mm/madvise.c | 2 +
mm/mremap.c | 17 ++-
6 files changed, 395 insertions(+), 22 deletions(-)

--
1.9.1