operations.
These operations enable the calling application to resolve page-fault
events in a consistent way.
-.\" FIXME What does "consistent" mean?
+.\" FIXME Above: What does "consistent" mean?
.\"
.SS UFFDIO_API
(Since Linux 4.3.)
Before the call, the
.I features
field must be initialized to zero.
-.\" FIXME Why must the 'features' field be initialized to zero?
+.\" FIXME Above: Why must the 'features' field be initialized to zero?
The kernel verifies that it can support the requested API version,
and sets the
.I ioctls
field can contain the following bits:
.\" FIXME This user-space API seems not fully polished. Why are there
-.\" not constants defined for each of the bit-mask values listed here?
+.\" not constants defined for each of the bit-mask values listed below?
.TP
.B 1 << _UFFDIO_API
The
The
.B UFFDIO_UNREGISTER
operation is supported.
-.\" FIXME Is the above description of the 'ioctls' field correct.
+.\" FIXME Is the above description of the 'ioctls' field correct?
.\" Does more need to be said?
.\"
.PP
field is not supported by this kernel, or the
.I features
field was not zero.
-.\" FIXME In this error case, the returned 'uffdio_api' structure
-.\" zeroed out. Why is this done?
+.\" FIXME In the above error case, the returned 'uffdio_api' structure
+.\" zeroed out. Why is this done? This should be explained in the manual page.
.\"
.SS UFFDIO_REGISTER
(Since Linux 4.3.)
.TP
.B EINVAL
There as an incompatible mapping in the specified address range.
-.\" FIXME What does "incompatible" mean?
+.\" FIXME Above: What does "incompatible" mean?
.\"
.SS UFFDIO_UNREGISTER
(Since Linux 4.3.)
.TP
.B EINVAL
There as an incompatible mapping in the specified address range.
-.\" FIXME What does "incompatible" mean?
+.\" FIXME Above: What does "incompatible" mean?
.TP
.B EINVAL
There was no mapping in the specified address range.
that was actually copied, or an error (a negated
.IR errno -style
value).
-.\" FIXME Why is the 'copy' field used to return error values?
+.\" FIXME Above: Why is the 'copy' field used to return error values?
+.\" This should be explained in the manual page.
If the value returned in
.I copy
doesn't match the value that was specified in
or an error in the same manner as
.BR UFFDIO_COPY .
.\" FIXME Why is the 'zeropage' field used to return error values?
+.\" This should be explained in the manual page.
If the value returned in the
.I zeropage
field doesn't match the value that was specified in
argument is a pointer to a
.I uffdio_range
structure (shown above) that specifies the address range.
-.\" FIXME: Need more detail here. How is this operation used?
+.\" FIXME: Need more detail here. How is the UFFDIO_WAKE operation used?
This
.BR ioctl (2)