mirror of https://github.com/mkerrisk/man-pages
ioctl_userfaultfd.2: Minor fixes to Mike Rapoport's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
66487517a0
commit
42630fa9ae
|
@ -140,41 +140,39 @@ When this feature is enabled,
|
|||
the userfaultfd objects associated with a parent process are duplicated
|
||||
into the child process during
|
||||
.BR fork (2)
|
||||
system call and the
|
||||
.I UFFD_EVENT_FORK
|
||||
is delivered to the userfaultfd monitor
|
||||
and a
|
||||
.B UFFD_EVENT_FORK
|
||||
ievent is delivered to the userfaultfd monitor
|
||||
.TP
|
||||
.B UFFD_FEATURE_EVENT_REMAP
|
||||
If this feature is enabled,
|
||||
when the faulting process invokes
|
||||
.BR mremap (2)
|
||||
system call
|
||||
.BR mremap (2),
|
||||
the userfaultfd monitor will receive an event of type
|
||||
.I UFFD_EVENT_REMAP.
|
||||
.BR UFFD_EVENT_REMAP .
|
||||
.TP
|
||||
.B UFFD_FEATURE_EVENT_REMOVE
|
||||
If this feature is enabled,
|
||||
when the faulting process calls
|
||||
.BR madvise(2)
|
||||
system call with
|
||||
.I MADV_DONTNEED
|
||||
.BR madvise (2)
|
||||
with the
|
||||
.B MADV_DONTNEED
|
||||
or
|
||||
.I MADV_REMOVE
|
||||
advice to free a virtual memory area
|
||||
.B MADV_REMOVE
|
||||
advice value to free a virtual memory area
|
||||
the userfaultfd monitor will receive an event of type
|
||||
.I UFFD_EVENT_REMOVE.
|
||||
.BR UFFD_EVENT_REMOVE .
|
||||
.TP
|
||||
.B UFFD_FEATURE_EVENT_UNMAP
|
||||
If this feature is enabled,
|
||||
when the faulting process unmaps virtual memory either explicitly with
|
||||
.BR munmap (2)
|
||||
system call, or implicitly either during
|
||||
.BR munmap (2),
|
||||
or implicitly during either
|
||||
.BR mmap (2)
|
||||
or
|
||||
.BR mremap (2)
|
||||
system call,
|
||||
.BR mremap (2).
|
||||
the userfaultfd monitor will receive an event of type
|
||||
.I UFFD_EVENT_UNMAP
|
||||
.BR UFFD_EVENT_UNMAP .
|
||||
.TP
|
||||
.B UFFD_FEATURE_MISSING_HUGETLBFS
|
||||
If this feature bit is set,
|
||||
|
|
Loading…
Reference in New Issue