diff for duplicates of <1502849899.6577.66.camel@redhat.com> diff --git a/a/1.txt b/N1/1.txt index eba8839..4337437 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,7 +14,7 @@ On Tue, 2017-08-15 at 15:51 -0700, Andrew Morton wrote: > prior MADV_WIPEONFORK." here. > > I guess it isn't worth mentioning that these things can cause VMA -> merges and splits. +> merges and splits.A That's the same as every other Linux specific madvise operation. @@ -22,9 +22,9 @@ That's the same as every other Linux specific madvise operation. > > +++ b/mm/madvise.c > > @@ -80,6 +80,17 @@ static long madvise_behavior(struct > > vm_area_struct *vma, -> > } -> > new_flags &= ~VM_DONTCOPY; -> > break; +> > A } +> > A new_flags &= ~VM_DONTCOPY; +> > A break; > > + case MADV_WIPEONFORK: > > + /* MADV_WIPEONFORK is only supported on anonymous > > memory. */ @@ -37,9 +37,9 @@ That's the same as every other Linux specific madvise operation. > > + case MADV_KEEPONFORK: > > + new_flags &= ~VM_WIPEONFORK; > > + break; -> > case MADV_DONTDUMP: -> > new_flags |= VM_DONTDUMP; -> > break; +> > A case MADV_DONTDUMP: +> > A new_flags |= VM_DONTDUMP; +> > A break; > > It seems odd to permit MADV_KEEPONFORK against other-than-anon vmas? diff --git a/a/content_digest b/N1/content_digest index 5ddabf3..ede6962 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -38,7 +38,7 @@ "> prior MADV_WIPEONFORK.\" here.\n" "> \n" "> I guess it isn't worth mentioning that these things can cause VMA\n" - "> merges and splits.\302\240\n" + "> merges and splits.A \n" "\n" "That's the same as every other Linux specific madvise operation.\n" "\n" @@ -46,9 +46,9 @@ "> > +++ b/mm/madvise.c\n" "> > @@ -80,6 +80,17 @@ static long madvise_behavior(struct\n" "> > vm_area_struct *vma,\n" - "> > \302\240\t\t}\n" - "> > \302\240\t\tnew_flags &= ~VM_DONTCOPY;\n" - "> > \302\240\t\tbreak;\n" + "> > A \t\t}\n" + "> > A \t\tnew_flags &= ~VM_DONTCOPY;\n" + "> > A \t\tbreak;\n" "> > +\tcase MADV_WIPEONFORK:\n" "> > +\t\t/* MADV_WIPEONFORK is only supported on anonymous\n" "> > memory. */\n" @@ -61,9 +61,9 @@ "> > +\tcase MADV_KEEPONFORK:\n" "> > +\t\tnew_flags &= ~VM_WIPEONFORK;\n" "> > +\t\tbreak;\n" - "> > \302\240\tcase MADV_DONTDUMP:\n" - "> > \302\240\t\tnew_flags |= VM_DONTDUMP;\n" - "> > \302\240\t\tbreak;\n" + "> > A \tcase MADV_DONTDUMP:\n" + "> > A \t\tnew_flags |= VM_DONTDUMP;\n" + "> > A \t\tbreak;\n" "> \n" "> It seems odd to permit MADV_KEEPONFORK against other-than-anon vmas?\n" "\n" @@ -80,4 +80,4 @@ "see: http://www.linux-mm.org/ .\n" "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -60bbeaf46d26fe6fe4fd9cbcd9371847da7540257562a98d77fcc51476481e46 +b3a670f4e52f7f7211a12b4866e7953751f22ff5dc3b5d79fe39fe471bf58068
diff --git a/a/1.txt b/N2/1.txt index eba8839..0e97609 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -49,9 +49,3 @@ other-than-anon vma would be equivalent to a noop. If new_flags == vma->vm_flags, madvise_behavior() will immediately exit. - --- -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/N2/content_digest index 5ddabf3..dfffc0a 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -72,12 +72,6 @@ "other-than-anon vma would be equivalent to a noop.\n" "\n" "If new_flags == vma->vm_flags, madvise_behavior() will\n" - "immediately exit.\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>" + immediately exit. -60bbeaf46d26fe6fe4fd9cbcd9371847da7540257562a98d77fcc51476481e46 +46851fd4b3119b900192bc9795c33ac489bad885b3c1e6cb8bbc1f8c9e9ae3e8
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.