From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> To: Mike Rapoport <rppt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Andrea Arcangeli <aarcange-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org> Subject: Re: [PATCH] userfaultfd.2: document spurious UFFD_EVENT_FORK Date: Thu, 9 Nov 2017 08:44:47 +0100 [thread overview] Message-ID: <1b812837-b368-5e6e-ff9d-7d570354437a@gmail.com> (raw) In-Reply-To: <1510124048-7991-1-git-send-email-rppt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> On 11/08/2017 07:54 AM, Mike Rapoport wrote: > Signed-off-by: Mike Rapoport <rppt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> Thanks, Mike. Applied. Cheers, Michael > --- > man2/userfaultfd.2 | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 > index 1c9e64b..08c41e1 100644 > --- a/man2/userfaultfd.2 > +++ b/man2/userfaultfd.2 > @@ -465,6 +465,16 @@ for checkpoint/restore mechanisms, > as well as post-copy migration to allow (nearly) uninterrupted execution > when transferring virtual machines and Linux containers > from one host to another. > +.SH BUGS > +If the > +.B UFFD_FEATURE_EVENT_FORK > +is enabled and a system call from the > +.BR fork (2) > +family is interrupted by a signal or failed,q a stale userfaultfd descriptor > +might be created. > +In this case a spurious > +.B UFFD_EVENT_FORK > +will be delivered to the userfaultfd monitor. > .SH EXAMPLE > The program below demonstrates the use of the userfaultfd mechanism. > The program creates two threads, one of which acts as the > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> To: Mike Rapoport <rppt@linux.vnet.ibm.com> Cc: mtk.manpages@gmail.com, Andrea Arcangeli <aarcange@redhat.com>, linux-man@vger.kernel.org, linux-mm <linux-mm@kvack.org> Subject: Re: [PATCH] userfaultfd.2: document spurious UFFD_EVENT_FORK Date: Thu, 9 Nov 2017 08:44:47 +0100 [thread overview] Message-ID: <1b812837-b368-5e6e-ff9d-7d570354437a@gmail.com> (raw) In-Reply-To: <1510124048-7991-1-git-send-email-rppt@linux.vnet.ibm.com> On 11/08/2017 07:54 AM, Mike Rapoport wrote: > Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Thanks, Mike. Applied. Cheers, Michael > --- > man2/userfaultfd.2 | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 > index 1c9e64b..08c41e1 100644 > --- a/man2/userfaultfd.2 > +++ b/man2/userfaultfd.2 > @@ -465,6 +465,16 @@ for checkpoint/restore mechanisms, > as well as post-copy migration to allow (nearly) uninterrupted execution > when transferring virtual machines and Linux containers > from one host to another. > +.SH BUGS > +If the > +.B UFFD_FEATURE_EVENT_FORK > +is enabled and a system call from the > +.BR fork (2) > +family is interrupted by a signal or failed,q a stale userfaultfd descriptor > +might be created. > +In this case a spurious > +.B UFFD_EVENT_FORK > +will be delivered to the userfaultfd monitor. > .SH EXAMPLE > The program below demonstrates the use of the userfaultfd mechanism. > The program creates two threads, one of which acts as the > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2017-11-09 7:44 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-11-08 6:54 [PATCH] userfaultfd.2: document spurious UFFD_EVENT_FORK Mike Rapoport [not found] ` <1510124048-7991-1-git-send-email-rppt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> 2017-11-09 7:44 ` Michael Kerrisk (man-pages) [this message] 2017-11-09 7:44 ` Michael Kerrisk (man-pages) -- strict thread matches above, loose matches on Subject: below -- 2017-10-26 13:04 Mike Rapoport 2017-10-26 13:04 ` Mike Rapoport
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1b812837-b368-5e6e-ff9d-7d570354437a@gmail.com \ --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \ --cc=aarcange-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \ --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org \ --cc=rppt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.