mirror of https://github.com/mkerrisk/man-pages
userfaultfd.2: Minor tweaks to Mike Rapoport's patches
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5191c68806
commit
265225c1e2
|
@ -112,14 +112,15 @@ created for the child process,
|
||||||
which allows userfaultfd monitor to perform user-space paging
|
which allows userfaultfd monitor to perform user-space paging
|
||||||
for the child process.
|
for the child process.
|
||||||
|
|
||||||
Unlike page faults which have to be synchronous and require
|
Unlike page faults which have to be synchronous and require an
|
||||||
explicit or implicit wakeup,
|
explicit or implicit wakeup,
|
||||||
all other events are delivered asynchronously and
|
all other events are delivered asynchronously and
|
||||||
the non-cooperative process resumes execution as
|
the non-cooperative process resumes execution as
|
||||||
soon as manager executes
|
soon as the userfaultfd manager executes
|
||||||
.BR read(2).
|
.BR read (2).
|
||||||
The userfaultfd manager should carefully synchronize calls
|
The userfaultfd manager should carefully synchronize calls to
|
||||||
to UFFDIO_COPY with the events processing.
|
.B UFFDIO_COPY
|
||||||
|
with the processing of events.
|
||||||
|
|
||||||
The current asynchronous model of the event delivery is optimal for
|
The current asynchronous model of the event delivery is optimal for
|
||||||
single threaded non-cooperative userfaultfd manager implementations.
|
single threaded non-cooperative userfaultfd manager implementations.
|
||||||
|
|
Loading…
Reference in New Issue