diff for duplicates of <1502483265.6577.52.camel@redhat.com> diff --git a/a/1.txt b/N1/1.txt index a16a267..abc6217 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,25 +1,25 @@ On Fri, 2017-08-11 at 12:42 -0700, Linus Torvalds wrote: -> On Fri, Aug 11, 2017 at 12:19 PM, <riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote: +> On Fri, Aug 11, 2017 at 12:19 PM,A A <riel@redhat.com> wrote: > > diff --git a/mm/memory.c b/mm/memory.c > > index 0e517be91a89..f9b0ad7feb57 100644 > > --- a/mm/memory.c > > +++ b/mm/memory.c > > @@ -1134,6 +1134,16 @@ int copy_page_range(struct mm_struct > > *dst_mm, struct mm_struct *src_mm, -> > !vma->anon_vma) -> > return 0; +> > A A A A A A A A A A A A A A A A A A A A A A A A !vma->anon_vma) +> > A A A A A A A A A A A A A A A A return 0; > > -> > + /* -> > + * With VM_WIPEONFORK, the child inherits the VMA from the -> > + * parent, but not its contents. -> > + * -> > + * A child accessing VM_WIPEONFORK memory will see all +> > +A A A A A A A /* +> > +A A A A A A A A * With VM_WIPEONFORK, the child inherits the VMA from the +> > +A A A A A A A A * parent, but not its contents. +> > +A A A A A A A A * +> > +A A A A A A A A * A child accessing VM_WIPEONFORK memory will see all > > zeroes; -> > + * a child accessing VM_DONTCOPY memory receives a +> > +A A A A A A A A * a child accessing VM_DONTCOPY memory receives a > > segfault. -> > + */ -> > + if (vma->vm_flags & VM_WIPEONFORK) -> > + return 0; +> > +A A A A A A A A */ +> > +A A A A A A A if (vma->vm_flags & VM_WIPEONFORK) +> > +A A A A A A A A A A A A A A A return 0; > > + > > Is this right? @@ -67,3 +67,9 @@ That was the main reason for adding you to the thread :) kind regards, Rik + +-- +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 959e6d2..9fbc117 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,50 +1,49 @@ "ref\020170811191942.17487-1-riel@redhat.com\0" "ref\020170811191942.17487-3-riel@redhat.com\0" "ref\0CA+55aFzA+7CeCdUi-13DfOeE3FfhtTPMMmBA4UQx8FixXiD4YA@mail.gmail.com\0" - "ref\0CA+55aFzA+7CeCdUi-13DfOeE3FfhtTPMMmBA4UQx8FixXiD4YA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org\0" - "From\0Rik van Riel <riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>\0" + "From\0Rik van Riel <riel@redhat.com>\0" "Subject\0Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK\0" "Date\0Fri, 11 Aug 2017 16:27:45 -0400\0" - "To\0Linus Torvalds <torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>\0" - "Cc\0Linux Kernel Mailing List <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>" - Michal Hocko <mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> - Mike Kravetz <mike.kravetz-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> - linux-mm <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org> - Florian Weimer <fweimer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> - colm-ZXBCfW2eEe/k1uMJSBkQmQ@public.gmane.org - Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org> - Kees Cook <keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> - Andy Lutomirski <luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org> - Will Drewry <wad-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> - Ingo Molnar <mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> - Kirill A. Shutemov <kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org> - Dave Hansen <dave.hansen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> - Linux API <linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> - " Matthew Wilcox <willy-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>\0" + "To\0Linus Torvalds <torvalds@linux-foundation.org>\0" + "Cc\0Linux Kernel Mailing List <linux-kernel@vger.kernel.org>" + Michal Hocko <mhocko@kernel.org> + Mike Kravetz <mike.kravetz@oracle.com> + linux-mm <linux-mm@kvack.org> + Florian Weimer <fweimer@redhat.com> + colm@allcosts.net + Andrew Morton <akpm@linux-foundation.org> + Kees Cook <keescook@chromium.org> + Andy Lutomirski <luto@amacapital.net> + Will Drewry <wad@chromium.org> + Ingo Molnar <mingo@kernel.org> + Kirill A. Shutemov <kirill@shutemov.name> + Dave Hansen <dave.hansen@intel.com> + Linux API <linux-api@vger.kernel.org> + " Matthew Wilcox <willy@infradead.org>\0" "\00:1\0" "b\0" "On Fri, 2017-08-11 at 12:42 -0700, Linus Torvalds wrote:\n" - "> On Fri, Aug 11, 2017 at 12:19 PM,\302\240\302\240<riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:\n" + "> On Fri, Aug 11, 2017 at 12:19 PM,A A <riel@redhat.com> wrote:\n" "> > diff --git a/mm/memory.c b/mm/memory.c\n" "> > index 0e517be91a89..f9b0ad7feb57 100644\n" "> > --- a/mm/memory.c\n" "> > +++ b/mm/memory.c\n" "> > @@ -1134,6 +1134,16 @@ int copy_page_range(struct mm_struct\n" "> > *dst_mm, struct mm_struct *src_mm,\n" - "> > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240!vma->anon_vma)\n" - "> > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240return 0;\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 !vma->anon_vma)\n" + "> > A A A A A A A A A A A A A A A A return 0;\n" "> > \n" - "> > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240/*\n" - "> > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240* With VM_WIPEONFORK, the child inherits the VMA from the\n" - "> > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240* parent, but not its contents.\n" - "> > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240*\n" - "> > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240* A child accessing VM_WIPEONFORK memory will see all\n" + "> > +A A A A A A A /*\n" + "> > +A A A A A A A A * With VM_WIPEONFORK, the child inherits the VMA from the\n" + "> > +A A A A A A A A * parent, but not its contents.\n" + "> > +A A A A A A A A *\n" + "> > +A A A A A A A A * A child accessing VM_WIPEONFORK memory will see all\n" "> > zeroes;\n" - "> > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240* a child accessing VM_DONTCOPY memory receives a\n" + "> > +A A A A A A A A * a child accessing VM_DONTCOPY memory receives a\n" "> > segfault.\n" - "> > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240*/\n" - "> > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240if (vma->vm_flags & VM_WIPEONFORK)\n" - "> > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240return 0;\n" + "> > +A A A A A A A A */\n" + "> > +A A A A A A A if (vma->vm_flags & VM_WIPEONFORK)\n" + "> > +A A A A A A A A A A A A A A A return 0;\n" "> > +\n" "> \n" "> Is this right?\n" @@ -91,6 +90,12 @@ "\n" "kind regards,\n" "\n" - Rik + "Rik\n" + "\n" + "--\n" + "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>" -e58707eac99304446f6175462e58c3cad0460871037659acffabc2c7d9c02b8b +bb79c28878a1e09bdedfb6d22ce55cd24e409822137bfaa955abe6ab15763363
diff --git a/a/1.txt b/N2/1.txt index a16a267..70d565e 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -1,5 +1,5 @@ On Fri, 2017-08-11 at 12:42 -0700, Linus Torvalds wrote: -> On Fri, Aug 11, 2017 at 12:19 PM, <riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote: +> On Fri, Aug 11, 2017 at 12:19 PM, <riel@redhat.com> wrote: > > diff --git a/mm/memory.c b/mm/memory.c > > index 0e517be91a89..f9b0ad7feb57 100644 > > --- a/mm/memory.c diff --git a/a/content_digest b/N2/content_digest index 959e6d2..b3aed72 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,30 +1,29 @@ "ref\020170811191942.17487-1-riel@redhat.com\0" "ref\020170811191942.17487-3-riel@redhat.com\0" "ref\0CA+55aFzA+7CeCdUi-13DfOeE3FfhtTPMMmBA4UQx8FixXiD4YA@mail.gmail.com\0" - "ref\0CA+55aFzA+7CeCdUi-13DfOeE3FfhtTPMMmBA4UQx8FixXiD4YA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org\0" - "From\0Rik van Riel <riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>\0" + "From\0Rik van Riel <riel@redhat.com>\0" "Subject\0Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK\0" "Date\0Fri, 11 Aug 2017 16:27:45 -0400\0" - "To\0Linus Torvalds <torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>\0" - "Cc\0Linux Kernel Mailing List <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>" - Michal Hocko <mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> - Mike Kravetz <mike.kravetz-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> - linux-mm <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org> - Florian Weimer <fweimer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> - colm-ZXBCfW2eEe/k1uMJSBkQmQ@public.gmane.org - Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org> - Kees Cook <keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> - Andy Lutomirski <luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org> - Will Drewry <wad-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> - Ingo Molnar <mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> - Kirill A. Shutemov <kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org> - Dave Hansen <dave.hansen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> - Linux API <linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> - " Matthew Wilcox <willy-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>\0" + "To\0Linus Torvalds <torvalds@linux-foundation.org>\0" + "Cc\0Linux Kernel Mailing List <linux-kernel@vger.kernel.org>" + Michal Hocko <mhocko@kernel.org> + Mike Kravetz <mike.kravetz@oracle.com> + linux-mm <linux-mm@kvack.org> + Florian Weimer <fweimer@redhat.com> + colm@allcosts.net + Andrew Morton <akpm@linux-foundation.org> + Kees Cook <keescook@chromium.org> + Andy Lutomirski <luto@amacapital.net> + Will Drewry <wad@chromium.org> + Ingo Molnar <mingo@kernel.org> + Kirill A. Shutemov <kirill@shutemov.name> + Dave Hansen <dave.hansen@intel.com> + Linux API <linux-api@vger.kernel.org> + " Matthew Wilcox <willy@infradead.org>\0" "\00:1\0" "b\0" "On Fri, 2017-08-11 at 12:42 -0700, Linus Torvalds wrote:\n" - "> On Fri, Aug 11, 2017 at 12:19 PM,\302\240\302\240<riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:\n" + "> On Fri, Aug 11, 2017 at 12:19 PM,\302\240\302\240<riel@redhat.com> wrote:\n" "> > diff --git a/mm/memory.c b/mm/memory.c\n" "> > index 0e517be91a89..f9b0ad7feb57 100644\n" "> > --- a/mm/memory.c\n" @@ -93,4 +92,4 @@ "\n" Rik -e58707eac99304446f6175462e58c3cad0460871037659acffabc2c7d9c02b8b +d098db50b457843a570fada93cb08ca4ba3024071dc26c400844bc11553032e3
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.