linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] userfaultfd: extension for non cooperative uffd usage
@ 2016-03-20 12:42 Mike Rapoport
  2016-03-20 12:42 ` [PATCH 1/5] uffd: Split the find_userfault() routine Mike Rapoport
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Mike Rapoport @ 2016-03-20 12:42 UTC (permalink / raw)
  To: Andrea Arcangeli
  Cc: Pavel Emelyanov, LKML, linux-mm, Mike Rapoport, Mike Rapoport

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/5] UserfaultFD: Extension for non cooperative uffd usage (v2)
@ 2015-05-13 14:52 Pavel Emelyanov
  2015-05-13 14:52 ` [PATCH 2/5] uffd: Add ability to report non-PF events from uffd descriptor Pavel Emelyanov
  0 siblings, 1 reply; 12+ messages in thread
From: Pavel Emelyanov @ 2015-05-13 14:52 UTC (permalink / raw)
  To: Andrea Arcangeli; +Cc: Linux Kernel Mailing List, Linux MM, Sanidhya Kashyap

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.

This is the re-based set on the recent userfaultfd branch, two major
changes are:

* No need in separate API version, the uffd_msg introduced in the
  current code and UFFD_API ioctl are enough for the needed extentions
* Two events added -- for mremap() and madvise() MADV_DONTNEED

More details about the particular events are in patches 3 trough 4.
Comments and suggestion are warmly welcome :)

The v1 discussion thread is here: https://lkml.org/lkml/2015/3/18/729

Thanks,
Pavel

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-04-22 16:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-20 12:42 [PATCH 0/5] userfaultfd: extension for non cooperative uffd usage Mike Rapoport
2016-03-20 12:42 ` [PATCH 1/5] uffd: Split the find_userfault() routine Mike Rapoport
2016-03-20 12:42 ` [PATCH 2/5] uffd: Add ability to report non-PF events from uffd descriptor Mike Rapoport
2016-03-20 12:42 ` [PATCH 3/5] uffd: Add fork() event Mike Rapoport
2016-03-20 12:53   ` kbuild test robot
2016-03-20 12:42 ` [PATCH 4/5] uffd: Add mremap() event Mike Rapoport
2016-03-20 12:42 ` [PATCH 5/5] uffd: Add madvise() event for MADV_DONTNEED request Mike Rapoport
2016-03-21  9:54 ` [PATCH 0/5] userfaultfd: extension for non cooperative uffd usage Pavel Emelyanov
2016-04-06  6:14   ` Mike Rapoport
2016-04-20  9:44 ` Pavel Emelyanov
2016-04-22 16:05   ` Andrea Arcangeli
  -- strict thread matches above, loose matches on Subject: below --
2015-05-13 14:52 [PATCH 0/5] UserfaultFD: Extension for non cooperative uffd usage (v2) Pavel Emelyanov
2015-05-13 14:52 ` [PATCH 2/5] uffd: Add ability to report non-PF events from uffd descriptor Pavel Emelyanov

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