diff for duplicates of <20170503214613.GB30692@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 2d2c673..03d649f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,12 +15,12 @@ Sorry for not answering sooner! (I had a vacation last week) > >> in a consistent way. > >> > >> -> >> ┌─────────────────────────────────────────────────────┐ -> >> │FIXME │ -> >> ├─────────────────────────────────────────────────────┤ -> >> │Above: What does "consistent" mean? │ -> >> │ │ -> >> └─────────────────────────────────────────────────────┘ +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??FIXME a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??Above: What does "consistent" mean? a?? +> >> a?? a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? > > > > Andrea, can you please help with this one? > @@ -80,18 +80,18 @@ needed in the manpage. It looks an unnecessary complication to the reader. > > >> The kernel verifies that it can support the requested API version, and > >> sets the features and ioctls fields to bit masks representing all the -> >> available features and the generic ioctl(2) operations available. Cur‐ +> >> available features and the generic ioctl(2) operations available. Cura?? > >> rently, zero (i.e., no feature bits) is placed in the features field. > >> The returned ioctls field can contain the following bits: > >> > >> -> >> ┌─────────────────────────────────────────────────────┐ -> >> │FIXME │ -> >> ├─────────────────────────────────────────────────────┤ -> >> │This user-space API seems not fully polished. Why │ -> >> │are there not constants defined for each of the bit- │ -> >> │mask values listed below? │ -> >> └─────────────────────────────────────────────────────┘ +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??FIXME a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??This user-space API seems not fully polished. Why a?? +> >> a??are there not constants defined for each of the bit- a?? +> >> a??mask values listed below? a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? > >> > >> 1 << _UFFDIO_API > >> The UFFDIO_API operation is supported. @@ -116,20 +116,20 @@ is the latest version. > >> -> >> EINVAL The userfaultfd has already been enabled by a previous UFF‐ +> >> EINVAL The userfaultfd has already been enabled by a previous UFFa?? > >> DIO_API operation. > >> > >> EINVAL The API version requested in the api field is not supported by > >> this kernel, or the features field was not zero. > >> -> >> ┌─────────────────────────────────────────────────────┐ -> >> │FIXME │ -> >> ├─────────────────────────────────────────────────────┤ -> >> │In the above error case, the returned 'uffdio_api' │ -> >> │structure zeroed out. Why is this done? This should │ -> >> │be explained in the manual page. │ -> >> │ │ -> >> └─────────────────────────────────────────────────────┘ +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??FIXME a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??In the above error case, the returned 'uffdio_api' a?? +> >> a??structure zeroed out. Why is this done? This should a?? +> >> a??be explained in the manual page. a?? +> >> a?? a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? > > > > In my understanding the uffdio_api structure is zeroed to allow the caller > > to distinguish the reasons for -EINVAL. @@ -151,7 +151,7 @@ getting -EINVAL the contents of uffdio_api should be ignored by userland. > >> UFFDIO_REGISTER -> >> (Since Linux 4.3.) Register a memory address range with the user‐ +> >> (Since Linux 4.3.) Register a memory address range with the usera?? > >> faultfd object. The argp argument is a pointer to a uffdio_register > >> structure, defined as: > >> @@ -171,7 +171,7 @@ userland. > >> for len bytes that should be handled by the userfaultfd. > >> > >> The mode field defines the mode of operation desired for this memory -> >> region. The following values may be bitwise ORed to set the user‐ +> >> region. The following values may be bitwise ORed to set the usera?? > >> faultfd mode for the specified range: > >> > >> UFFDIO_REGISTER_MODE_MISSING @@ -183,7 +183,7 @@ userland. > >> Currently, the only supported mode is UFFDIO_REGISTER_MODE_MISSING. > >> > >> If the operation is successful, the kernel modifies the ioctls bit-mask -> >> field to indicate which ioctl(2) operations are available for the spec‐ +> >> field to indicate which ioctl(2) operations are available for the speca?? > >> ified range. This returned bit mask is as for UFFDIO_API. > >> > >> This ioctl(2) operation returns 0 on success. On error, -1 is returned @@ -191,12 +191,12 @@ userland. > >> include: > >> > >> -> >> ┌─────────────────────────────────────────────────────┐ -> >> │FIXME │ -> >> ├─────────────────────────────────────────────────────┤ -> >> │Is the following error list correct? │ -> >> │ │ -> >> └─────────────────────────────────────────────────────┘ +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??FIXME a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??Is the following error list correct? a?? +> >> a?? a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? > > > > Here again it maybe -EFAULT to indicate copy_{from,to}_user failure. > > And, UFFDIO_REGISTER may return -ENOMEM if the process is exiting and the @@ -227,7 +227,7 @@ I'd expect userland to threat -ENOMEM and -EINVAL about the same way. > >> (Since Linux 4.3.) Atomically copy a continuous memory chunk into the > >> userfault registered range and optionally wake up the blocked thread. > >> The source and destination addresses and the number of bytes to copy -> >> are specified by the src, dst, and len fields of the uffdio_copy struc‐ +> >> are specified by the src, dst, and len fields of the uffdio_copy struca?? > >> ture pointed to by argp: > >> > >> struct uffdio_copy { @@ -248,13 +248,13 @@ I'd expect userland to threat -ENOMEM and -EINVAL about the same way. > >> was actually copied, or an error (a negated errno-style value). > >> > >> -> >> ┌─────────────────────────────────────────────────────┐ -> >> │FIXME │ -> >> ├─────────────────────────────────────────────────────┤ -> >> │Above: Why is the 'copy' field used to return error │ -> >> │values? This should be explained in the manual │ -> >> │page. │ -> >> └─────────────────────────────────────────────────────┘ +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??FIXME a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??Above: Why is the 'copy' field used to return error a?? +> >> a??values? This should be explained in the manual a?? +> >> a??page. a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? > > > > Andrea, can you help with this one, please? > @@ -289,13 +289,13 @@ be copied and no memory corruption can happen this way (furthermore the programmer can be notified of the race condition in the code which might even be intentional, but more likely is not). -> >> ┌─────────────────────────────────────────────────────┐ -> >> │FIXME │ -> >> ├─────────────────────────────────────────────────────┤ -> >> │Why is the 'zeropage' field used to return error │ -> >> │values? This should be explained in the manual │ -> >> │page. │ -> >> └─────────────────────────────────────────────────────┘ +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??FIXME a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? +> >> a??Why is the 'zeropage' field used to return error a?? +> >> a??values? This should be explained in the manual a?? +> >> a??page. a?? +> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a?? > > Help is still needed for this FIXME! @@ -316,7 +316,9 @@ functionality. Thanks! Andrea + -- -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 +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> diff --git a/a/content_digest b/N1/content_digest index c095d6c..f80d274 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,15 +2,14 @@ "ref\09af29fc6-dce2-f729-0f07-a0bfcc6c3587@gmail.com\0" "ref\020170322135423.GB27789@rapoport-lnx\0" "ref\0e8c5ca4a-0710-7206-b96e-10d171bda218@gmail.com\0" - "ref\0e8c5ca4a-0710-7206-b96e-10d171bda218-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org\0" - "From\0Andrea Arcangeli <aarcange-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>\0" + "From\0Andrea Arcangeli <aarcange@redhat.com>\0" "Subject\0Re: Review request: draft ioctl_userfaultfd(2) manual page\0" "Date\0Wed, 3 May 2017 23:46:13 +0200\0" - "To\0Michael Kerrisk (man-pages) <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" - "Cc\0Mike Rapoport <rppt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>" - lkml <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> - linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org> - " linux-man <linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>\0" + "To\0Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>\0" + "Cc\0Mike Rapoport <rppt@linux.vnet.ibm.com>" + lkml <linux-kernel@vger.kernel.org> + linux-mm@kvack.org <linux-mm@kvack.org> + " linux-man <linux-man@vger.kernel.org>\0" "\00:1\0" "b\0" "On Fri, Apr 21, 2017 at 11:11:18AM +0200, Michael Kerrisk (man-pages) wrote:\n" @@ -30,12 +29,12 @@ "> >> in a consistent way.\n" "> >>\n" "> >>\n" - "> >> \342\224\214\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\220\n" - "> >> \342\224\202FIXME \342\224\202\n" - "> >> \342\224\234\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\244\n" - "> >> \342\224\202Above: What does \"consistent\" mean? \342\224\202\n" - "> >> \342\224\202 \342\224\202\n" - "> >> \342\224\224\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\230\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??FIXME a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??Above: What does \"consistent\" mean? a??\n" + "> >> a?? a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" "> > \n" "> > Andrea, can you please help with this one?\n" "> \n" @@ -95,18 +94,18 @@ "> \n" "> >> The kernel verifies that it can support the requested API version, and\n" "> >> sets the features and ioctls fields to bit masks representing all the\n" - "> >> available features and the generic ioctl(2) operations available. Cur\342\200\220\n" + "> >> available features and the generic ioctl(2) operations available. Cura??\n" "> >> rently, zero (i.e., no feature bits) is placed in the features field.\n" "> >> The returned ioctls field can contain the following bits:\n" "> >>\n" "> >>\n" - "> >> \342\224\214\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\220\n" - "> >> \342\224\202FIXME \342\224\202\n" - "> >> \342\224\234\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\244\n" - "> >> \342\224\202This user-space API seems not fully polished. Why \342\224\202\n" - "> >> \342\224\202are there not constants defined for each of the bit- \342\224\202\n" - "> >> \342\224\202mask values listed below? \342\224\202\n" - "> >> \342\224\224\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\230\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??FIXME a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??This user-space API seems not fully polished. Why a??\n" + "> >> a??are there not constants defined for each of the bit- a??\n" + "> >> a??mask values listed below? a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" "> >>\n" "> >> 1 << _UFFDIO_API\n" "> >> The UFFDIO_API operation is supported.\n" @@ -131,20 +130,20 @@ "\n" "\n" "> >>\n" - "> >> EINVAL The userfaultfd has already been enabled by a previous UFF\342\200\220\n" + "> >> EINVAL The userfaultfd has already been enabled by a previous UFFa??\n" "> >> DIO_API operation.\n" "> >>\n" "> >> EINVAL The API version requested in the api field is not supported by\n" "> >> this kernel, or the features field was not zero.\n" "> >>\n" - "> >> \342\224\214\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\220\n" - "> >> \342\224\202FIXME \342\224\202\n" - "> >> \342\224\234\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\244\n" - "> >> \342\224\202In the above error case, the returned 'uffdio_api' \342\224\202\n" - "> >> \342\224\202structure zeroed out. Why is this done? This should \342\224\202\n" - "> >> \342\224\202be explained in the manual page. \342\224\202\n" - "> >> \342\224\202 \342\224\202\n" - "> >> \342\224\224\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\230\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??FIXME a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??In the above error case, the returned 'uffdio_api' a??\n" + "> >> a??structure zeroed out. Why is this done? This should a??\n" + "> >> a??be explained in the manual page. a??\n" + "> >> a?? a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" "> > \n" "> > In my understanding the uffdio_api structure is zeroed to allow the caller\n" "> > to distinguish the reasons for -EINVAL.\n" @@ -166,7 +165,7 @@ "userland.\n" "\n" "> >> UFFDIO_REGISTER\n" - "> >> (Since Linux 4.3.) Register a memory address range with the user\342\200\220\n" + "> >> (Since Linux 4.3.) Register a memory address range with the usera??\n" "> >> faultfd object. The argp argument is a pointer to a uffdio_register\n" "> >> structure, defined as:\n" "> >>\n" @@ -186,7 +185,7 @@ "> >> for len bytes that should be handled by the userfaultfd.\n" "> >>\n" "> >> The mode field defines the mode of operation desired for this memory\n" - "> >> region. The following values may be bitwise ORed to set the user\342\200\220\n" + "> >> region. The following values may be bitwise ORed to set the usera??\n" "> >> faultfd mode for the specified range:\n" "> >>\n" "> >> UFFDIO_REGISTER_MODE_MISSING\n" @@ -198,7 +197,7 @@ "> >> Currently, the only supported mode is UFFDIO_REGISTER_MODE_MISSING.\n" "> >>\n" "> >> If the operation is successful, the kernel modifies the ioctls bit-mask\n" - "> >> field to indicate which ioctl(2) operations are available for the spec\342\200\220\n" + "> >> field to indicate which ioctl(2) operations are available for the speca??\n" "> >> ified range. This returned bit mask is as for UFFDIO_API.\n" "> >>\n" "> >> This ioctl(2) operation returns 0 on success. On error, -1 is returned\n" @@ -206,12 +205,12 @@ "> >> include:\n" "> >>\n" "> >>\n" - "> >> \342\224\214\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\220\n" - "> >> \342\224\202FIXME \342\224\202\n" - "> >> \342\224\234\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\244\n" - "> >> \342\224\202Is the following error list correct? \342\224\202\n" - "> >> \342\224\202 \342\224\202\n" - "> >> \342\224\224\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\230\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??FIXME a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??Is the following error list correct? a??\n" + "> >> a?? a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" "> > \n" "> > Here again it maybe -EFAULT to indicate copy_{from,to}_user failure.\n" "> > And, UFFDIO_REGISTER may return -ENOMEM if the process is exiting and the\n" @@ -242,7 +241,7 @@ "> >> (Since Linux 4.3.) Atomically copy a continuous memory chunk into the\n" "> >> userfault registered range and optionally wake up the blocked thread.\n" "> >> The source and destination addresses and the number of bytes to copy\n" - "> >> are specified by the src, dst, and len fields of the uffdio_copy struc\342\200\220\n" + "> >> are specified by the src, dst, and len fields of the uffdio_copy struca??\n" "> >> ture pointed to by argp:\n" "> >>\n" "> >> struct uffdio_copy {\n" @@ -263,13 +262,13 @@ "> >> was actually copied, or an error (a negated errno-style value).\n" "> >>\n" "> >>\n" - "> >> \342\224\214\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\220\n" - "> >> \342\224\202FIXME \342\224\202\n" - "> >> \342\224\234\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\244\n" - "> >> \342\224\202Above: Why is the 'copy' field used to return error \342\224\202\n" - "> >> \342\224\202values? This should be explained in the manual \342\224\202\n" - "> >> \342\224\202page. \342\224\202\n" - "> >> \342\224\224\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\230\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??FIXME a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??Above: Why is the 'copy' field used to return error a??\n" + "> >> a??values? This should be explained in the manual a??\n" + "> >> a??page. a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" "> > \n" "> > Andrea, can you help with this one, please?\n" "> \n" @@ -304,13 +303,13 @@ "the programmer can be notified of the race condition in the code which\n" "might even be intentional, but more likely is not).\n" "\n" - "> >> \342\224\214\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\220\n" - "> >> \342\224\202FIXME \342\224\202\n" - "> >> \342\224\234\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\244\n" - "> >> \342\224\202Why is the 'zeropage' field used to return error \342\224\202\n" - "> >> \342\224\202values? This should be explained in the manual \342\224\202\n" - "> >> \342\224\202page. \342\224\202\n" - "> >> \342\224\224\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\230\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??FIXME a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" + "> >> a??Why is the 'zeropage' field used to return error a??\n" + "> >> a??values? This should be explained in the manual a??\n" + "> >> a??page. a??\n" + "> >> a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??a??\n" "> \n" "> Help is still needed for this FIXME!\n" "\n" @@ -331,9 +330,11 @@ "\n" "Thanks!\n" "Andrea\n" + "\n" "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-man\" in\n" - "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" + "the body to majordomo@kvack.org. For more info on Linux MM,\n" + "see: http://www.linux-mm.org/ .\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -d930f0d0d9d5c55ac1b088f9bc02ba6989f4a84cecd88031bb9d8567432da907 +52b2db0574f69e50b298c12dec991cedcd105d3ba1df13ed054a1e8a6c52e259
diff --git a/a/1.txt b/N2/1.txt index 2d2c673..1802317 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -316,7 +316,3 @@ functionality. Thanks! Andrea --- -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 diff --git a/a/content_digest b/N2/content_digest index c095d6c..6c77f18 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,15 +2,14 @@ "ref\09af29fc6-dce2-f729-0f07-a0bfcc6c3587@gmail.com\0" "ref\020170322135423.GB27789@rapoport-lnx\0" "ref\0e8c5ca4a-0710-7206-b96e-10d171bda218@gmail.com\0" - "ref\0e8c5ca4a-0710-7206-b96e-10d171bda218-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org\0" - "From\0Andrea Arcangeli <aarcange-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>\0" + "From\0Andrea Arcangeli <aarcange@redhat.com>\0" "Subject\0Re: Review request: draft ioctl_userfaultfd(2) manual page\0" "Date\0Wed, 3 May 2017 23:46:13 +0200\0" - "To\0Michael Kerrisk (man-pages) <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" - "Cc\0Mike Rapoport <rppt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>" - lkml <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> - linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org> - " linux-man <linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>\0" + "To\0Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>\0" + "Cc\0Mike Rapoport <rppt@linux.vnet.ibm.com>" + lkml <linux-kernel@vger.kernel.org> + linux-mm@kvack.org <linux-mm@kvack.org> + " linux-man <linux-man@vger.kernel.org>\0" "\00:1\0" "b\0" "On Fri, Apr 21, 2017 at 11:11:18AM +0200, Michael Kerrisk (man-pages) wrote:\n" @@ -330,10 +329,6 @@ "functionality.\n" "\n" "Thanks!\n" - "Andrea\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-man\" in\n" - "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + Andrea -d930f0d0d9d5c55ac1b088f9bc02ba6989f4a84cecd88031bb9d8567432da907 +bc9de2abfacd3286bcbc02d734ca0a2b7b0b3346300a5756e037801f15ee0833
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.