Re: [RFC PATCH 1/2] userfaultfd: add minor fault registration mode

2021-01-11 Thread Dr. David Alan Gilbert
* Axel Rasmussen (axelrasmus...@google.com) wrote: > On Mon, Jan 11, 2021 at 3:58 AM Dr. David Alan Gilbert > wrote: > > > > * Axel Rasmussen (axelrasmus...@google.com) wrote: > > > This feature allows userspace to intercept "minor" faults. By "minor" > > > fault, I mean the following situation:

Re: [RFC PATCH 1/2] userfaultfd: add minor fault registration mode

2021-01-11 Thread Axel Rasmussen
On Mon, Jan 11, 2021 at 3:58 AM Dr. David Alan Gilbert wrote: > > * Axel Rasmussen (axelrasmus...@google.com) wrote: > > This feature allows userspace to intercept "minor" faults. By "minor" > > fault, I mean the following situation: > > > > Let there exist two mappings (i.e., VMAs) to the same

Re: [RFC PATCH 1/2] userfaultfd: add minor fault registration mode

2021-01-11 Thread Dr. David Alan Gilbert
* Axel Rasmussen (axelrasmus...@google.com) wrote: > This feature allows userspace to intercept "minor" faults. By "minor" > fault, I mean the following situation: > > Let there exist two mappings (i.e., VMAs) to the same page(s) (shared > memory). One of the mappings is registered with

[RFC PATCH 1/2] userfaultfd: add minor fault registration mode

2021-01-07 Thread Axel Rasmussen
This feature allows userspace to intercept "minor" faults. By "minor" fault, I mean the following situation: Let there exist two mappings (i.e., VMAs) to the same page(s) (shared memory). One of the mappings is registered with userfaultfd (in minor mode), and the other is not. Via the non-UFFD