linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] userfaultfd: add UFFDIO_TRY_COW
@ 2018-03-28 10:17 Mike Rapoport
  0 siblings, 0 replies; only message in thread
From: Mike Rapoport @ 2018-03-28 10:17 UTC (permalink / raw)
  To: Andrea Arcangeli, Pavel Emelyanov; +Cc: linux-mm, linux-api

Hi,

This is an initial attempt to implement COW with userfaultfd.
It's not yet complete, but I'd like to get an early feedback to see I'm not
talking complete nonsense.

It was possible to extend UFFDIO_COPY with UFFDIO_COPY_MODE_COW,  but I've
preferred to add the COW'ing of the pages as a new ioctl because otherwise
I would need to extend uffdio_copy structure to hold an additional
parameter.

--
Sincerely yours,
Mike.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-28 10:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-28 10:17 [RFC PATCH] userfaultfd: add UFFDIO_TRY_COW Mike Rapoport

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