mirror of https://github.com/mkerrisk/man-pages
ioctl_userfaultfd.2: Note that UFFDIO_UNREGISTER address range must be compatible
Reported-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d87f377e4e
commit
1c63cefda2
|
@ -160,6 +160,11 @@ field was not zero.
|
|||
.\" FIXME In the above error case, the returned 'uffdio_api' structure is
|
||||
.\" zeroed out. Why is this done? This should be explained in the manual page.
|
||||
.\"
|
||||
.\" Mike Rapoport:
|
||||
.\" In my understanding the uffdio_api
|
||||
.\" structure is zeroed to allow the caller
|
||||
.\" to distinguish the reasons for -EINVAL.
|
||||
.\"
|
||||
.SS UFFDIO_REGISTER
|
||||
(Since Linux 4.3.)
|
||||
Register a memory address range with the userfaultfd object.
|
||||
|
@ -269,6 +274,9 @@ There as an incompatible mapping in the specified address range.
|
|||
.SS UFFDIO_UNREGISTER
|
||||
(Since Linux 4.3.)
|
||||
Unregister a memory address range from userfaultfd.
|
||||
The pages in the range must be "compatible" (see the description of
|
||||
.BR UFFDIO_REGISTER .)
|
||||
|
||||
The address range to unregister is specified in the
|
||||
.IR uffdio_range
|
||||
structure pointed to by
|
||||
|
|
Loading…
Reference in New Issue