ioctl_userfaultfd.2: Explain concept of "compatible" mapping for UFFDIO_REGISTER

Reported-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-04-21 09:06:09 +02:00
parent ef443f0771
commit d87f377e4e
1 changed files with 6 additions and 0 deletions

View File

@ -163,6 +163,12 @@ field was not zero.
.SS UFFDIO_REGISTER
(Since Linux 4.3.)
Register a memory address range with the userfaultfd object.
The pages in the range must be "compatible".
In the current implementation,
.\" According to Mike Rapoport, this will change in Linux 4.11.
only private anonymous ranges are compatible for registering with
.BR UFFDIO_REGISTER .
The
.I argp
argument is a pointer to a