mirror of https://github.com/mkerrisk/man-pages
ioctl_userfaultfd.2: Rework version information for feature bits
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e81833beb2
commit
364270d01f
|
@ -136,9 +136,9 @@ structure and return
|
|||
.BR EINVAL .
|
||||
.\" FIXME add more details about feature negotiation and enablement
|
||||
.PP
|
||||
Since Linux 4.11, the following feature bits may be set:
|
||||
The following feature bits may be set:
|
||||
.TP
|
||||
.B UFFD_FEATURE_EVENT_FORK
|
||||
.BR UFFD_FEATURE_EVENT_FORK " (since Linux 4.11)"
|
||||
When this feature is enabled,
|
||||
the userfaultfd objects associated with a parent process are duplicated
|
||||
into the child process during
|
||||
|
@ -147,14 +147,14 @@ and a
|
|||
.B UFFD_EVENT_FORK
|
||||
event is delivered to the userfaultfd monitor
|
||||
.TP
|
||||
.B UFFD_FEATURE_EVENT_REMAP
|
||||
.BR UFFD_FEATURE_EVENT_REMAP " (since Linux 4.11)"
|
||||
If this feature is enabled,
|
||||
when the faulting process invokes
|
||||
.BR mremap (2),
|
||||
the userfaultfd monitor will receive an event of type
|
||||
.BR UFFD_EVENT_REMAP .
|
||||
.TP
|
||||
.B UFFD_FEATURE_EVENT_REMOVE
|
||||
.BR UFFD_FEATURE_EVENT_REMOVE " (since Linux 4.11)"
|
||||
If this feature is enabled,
|
||||
when the faulting process calls
|
||||
.BR madvise (2)
|
||||
|
@ -166,7 +166,7 @@ advice value to free a virtual memory area
|
|||
the userfaultfd monitor will receive an event of type
|
||||
.BR UFFD_EVENT_REMOVE .
|
||||
.TP
|
||||
.B UFFD_FEATURE_EVENT_UNMAP
|
||||
.BR UFFD_FEATURE_EVENT_UNMAP " (since Linux 4.11)"
|
||||
If this feature is enabled,
|
||||
when the faulting process unmaps virtual memory either explicitly with
|
||||
.BR munmap (2),
|
||||
|
@ -177,12 +177,12 @@ or
|
|||
the userfaultfd monitor will receive an event of type
|
||||
.BR UFFD_EVENT_UNMAP .
|
||||
.TP
|
||||
.B UFFD_FEATURE_MISSING_HUGETLBFS
|
||||
.BR UFFD_FEATURE_MISSING_HUGETLBFS " (since Linux 4.11)"
|
||||
If this feature bit is set,
|
||||
the kernel supports registering userfaultfd ranges on hugetlbfs
|
||||
virtual memory areas
|
||||
.TP
|
||||
.B UFFD_FEATURE_MISSING_SHMEM
|
||||
.BR UFFD_FEATURE_MISSING_SHMEM " (since Linux 4.11)"
|
||||
If this feature bit is set,
|
||||
the kernel supports registering userfaultfd ranges on shared memory areas.
|
||||
This includes all kernel shared memory APIs:
|
||||
|
@ -197,9 +197,8 @@ flag set,
|
|||
.BR memfd_create (2),
|
||||
and so on.
|
||||
.TP
|
||||
.B UFFD_FEATURE_SIGBUS
|
||||
.BR UFFD_FEATURE_SIGBUS " (since Linux 4.14)"
|
||||
.\" commit 2d6d6f5a09a96cc1fec7ed992b825e05f64cb50e
|
||||
Since Linux 4.14.
|
||||
If this feature bit is set, no page-fault events
|
||||
.RB ( UFFD_EVENT_PAGEFAULT )
|
||||
will be delivered.
|
||||
|
|
Loading…
Reference in New Issue