]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ioctl_userfaultfd.2: Add UFFD_FEATURE_THREAD_ID docs
authorPeter Xu <peterx@redhat.com>
Mon, 5 Apr 2021 13:13:07 +0000 (15:13 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 5 Apr 2021 20:02:05 +0000 (22:02 +0200)
UFFD_FEATURE_THREAD_ID is supported in Linux 4.14.

Acked-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/ioctl_userfaultfd.2

index 9120bdf40ef2dadd033f4d6065e4a61512ead7c6..014c0b5c104816670258cd7e2d6eada36675c8d1 100644 (file)
@@ -208,6 +208,11 @@ signal will be sent to the faulting process.
 Applications using this
 feature will not require the use of a userfaultfd monitor for processing
 memory accesses to the regions registered with userfaultfd.
+.TP
+.BR UFFD_FEATURE_THREAD_ID " (since Linux 4.14)"
+If this feature bit is set,
+.I uffd_msg.pagefault.feat.ptid
+will be set to the faulted thread ID for each page fault message.
 .PP
 The returned
 .I ioctls