From 39a3ee3fb5d08650973884c2ffc5d901b32199c6 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Mon, 25 Apr 2022 22:01:41 +0200 Subject: [PATCH] ioctl_userfaultfd.2, userfaultfd.2: Minor tweaks to Axel's patch Signed-off-by: Alejandro Colomar --- man2/ioctl_userfaultfd.2 | 4 ++-- man2/userfaultfd.2 | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index d0cb0c9c8e..03d55c43f5 100644 --- a/man2/ioctl_userfaultfd.2 +++ b/man2/ioctl_userfaultfd.2 @@ -777,7 +777,7 @@ struct uffdio_continue { .in .PP The following value may be bitwise ORed in -.IR mode +.I mode to change the behavior of the .B UFFDIO_CONTINUE operation: @@ -834,7 +834,7 @@ was zero; or the range specified was invalid. .TP .B EINVAL An invalid bit was specified in the -.IR mode +.I mode field. .TP .B EEXIST diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 index f8dc4766b1..db321d466a 100644 --- a/man2/userfaultfd.2 +++ b/man2/userfaultfd.2 @@ -84,8 +84,9 @@ When registered with .B UFFDIO_REGISTER_MODE_MINOR mode, user-space will receive a page-fault notification when a minor page fault occurs. -That is, when a backing page is in the page cache, but -page table entries don't yet exist. +That is, +when a backing page is in the page cache, +but page table entries don't yet exist. The faulted thread will be stopped from execution until the page fault is resolved from user-space by an .B UFFDIO_CONTINUE -- 2.47.2