mirror of https://github.com/mkerrisk/man-pages
ioctl_userfaultfd.2: Rework intro text on type of ioctl() operations
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
74bd6e931a
commit
fe905357af
|
@ -52,13 +52,27 @@ is one of the commands listed below, and
|
|||
.I argp
|
||||
is a pointer to a data structure that is specific to
|
||||
.IR cmd .
|
||||
.\"
|
||||
.SS Configuration ioctl(2) operations
|
||||
The
|
||||
|
||||
The various
|
||||
.BR ioctl (2)
|
||||
operations described below are used to configure userfaultfd behavior.
|
||||
They allow the caller to choose what features will be enabled and
|
||||
operations are described below.
|
||||
The
|
||||
.BR UFFDIO_API,
|
||||
.BR UFFDIO_REGISTER ,
|
||||
and
|
||||
.BR UFFDIO_UNREGISTER
|
||||
operations are used to
|
||||
.I configure
|
||||
userfaultfd behavior.
|
||||
These operations allow the caller to choose what features will be enabled and
|
||||
what kinds of events will be delivered to the application.
|
||||
The remaining operations are
|
||||
.IR range
|
||||
operations.
|
||||
These operations enable the calling application to resolve page fault
|
||||
events in a consistent way.
|
||||
.\" FIXME What does "consistent" mean?
|
||||
|
||||
.TP
|
||||
.BR UFFDIO_API
|
||||
Enable operation of the userfaultfd and perform API handshake.
|
||||
|
@ -195,13 +209,6 @@ There as an incompatible mapping in the specified address range.
|
|||
.B EINVAL
|
||||
There was no mapping in the specified address range.
|
||||
.RE
|
||||
.\"
|
||||
.SS Range ioctl(2) operations
|
||||
The range
|
||||
.BR ioctl (2)
|
||||
operations enable the calling application to resolve page fault
|
||||
events in a consistent way.
|
||||
.\" FIXME What does "consistent" mean?
|
||||
.TP
|
||||
.B UFFDIO_COPY
|
||||
Atomically copy a continuous memory chunk into the userfault registered
|
||||
|
|
Loading…
Reference in New Issue