diff for duplicates of <1532098688.23487.0.camel@intel.com> diff --git a/a/content_digest b/N1/content_digest index 5aedba6..48f0fc2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -26,7 +26,10 @@ Mike Kravetz <mike.kravetz@oracle.com> Nadav Amit <nadav.amit@gmail.com> Oleg Nesterov <oleg@redhat.com> - " Pavel Machek <pavel@ucw.cz>Peter\0" + Pavel Machek <pavel@ucw.cz> + Peter Zijlstra <peterz@infradead.org> + Ravi V. Shankar <ravi.v.shankar@intel.com> + " Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>\0" "\00:1\0" "b\0" "On Fri, 2018-07-20 at 07:20 -0700, Dave Hansen wrote:\n" @@ -91,4 +94,4 @@ "\n" Yu-cheng -243782236a475c561ba8ac0e6cafec294b16b179c32b094c041e017d31baace4 +d3afb665c6ba71127e037a65a9b166e6b49f729e2efe059422c9d2cbc9cbda57
diff --git a/a/1.txt b/N2/1.txt index f783d03..ced1c69 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -59,3 +59,7 @@ On Fri, 2018-07-20 at 07:20 -0700, Dave Hansen wrote: Ok, I will work on that. Thanks! Yu-cheng +-- +To unsubscribe from this list: send the line "unsubscribe linux-doc" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N2/content_digest index 5aedba6..35c986a 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -26,7 +26,10 @@ Mike Kravetz <mike.kravetz@oracle.com> Nadav Amit <nadav.amit@gmail.com> Oleg Nesterov <oleg@redhat.com> - " Pavel Machek <pavel@ucw.cz>Peter\0" + Pavel Machek <pavel@ucw.cz> + Peter Zijlstra <peterz@infradead.org> + Ravi V. Shankar <ravi.v.shankar@intel.com> + " Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>\0" "\00:1\0" "b\0" "On Fri, 2018-07-20 at 07:20 -0700, Dave Hansen wrote:\n" @@ -89,6 +92,10 @@ "\n" "Ok, I will work on that. \302\240Thanks!\n" "\n" - Yu-cheng + "Yu-cheng\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-doc\" in\n" + "the body of a message to majordomo@vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -243782236a475c561ba8ac0e6cafec294b16b179c32b094c041e017d31baace4 +802144fd5900325ff2be921d06d244eb37af635ac0d8e74d720a05fef7018c46
diff --git a/a/1.txt b/N3/1.txt index f783d03..f10a60a 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -3,14 +3,14 @@ On Fri, 2018-07-20 at 07:20 -0700, Dave Hansen wrote: > > > > @@ -1193,6 +1195,8 @@ static int > > do_huge_pmd_wp_page_fallback(struct vm_fault *vmf, pmd_t orig_pmd, -> > pte_t entry; -> > entry = mk_pte(pages[i], vma->vm_page_prot); -> > entry = maybe_mkwrite(pte_mkdirty(entry), vma); +> > A pte_t entry; +> > A entry = mk_pte(pages[i], vma->vm_page_prot); +> > A entry = maybe_mkwrite(pte_mkdirty(entry), vma); > > + if (is_shstk_mapping(vma->vm_flags)) > > + entry = pte_mkdirty_shstk(entry); > Peter Z was pointing out that we should get rid of all this generic > code -> manipulation. We might not easily be able to do it *all*, but we +> manipulation.A A We might not easily be able to do it *all*, but we > can do > better than what we've got here. > @@ -25,12 +25,12 @@ On Fri, 2018-07-20 at 07:20 -0700, Dave Hansen wrote: > static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct > *vma) > { -> if (likely(vma->vm_flags & VM_WRITE)) -> pte = pte_mkwrite(pte); +> A A A A A A A A if (likely(vma->vm_flags & VM_WRITE)) +> A A A A A A A A A A A A A A A A pte = pte_mkwrite(pte); > > + pte = arch_pte_mkwrite(pte, vma); > + -> return pte; +> A A A A A A A A return pte; > } > > ... and add an arch callback that does: @@ -47,15 +47,15 @@ On Fri, 2018-07-20 at 07:20 -0700, Dave Hansen wrote: > entry = pte_mkdirty_shstk(entry); > } > -> This is just one example. You are probably going to need a couple +> This is just one example.A A You are probably going to need a couple > of -> similar things. Just remember: the bar is very high to make changes +> similar things.A A Just remember: the bar is very high to make changes > to -> .c files outside of arch/x86. You can do a _bit_ more in non-x86 +> .c files outside of arch/x86.A A You can do a _bit_ more in non-x86 > headers, but you have the most freedom to patch what you want as > long as > it's in arch/x86. -Ok, I will work on that. Thanks! +Ok, I will work on that. A Thanks! Yu-cheng diff --git a/a/content_digest b/N3/content_digest index 5aedba6..beca4c6 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -26,7 +26,10 @@ Mike Kravetz <mike.kravetz@oracle.com> Nadav Amit <nadav.amit@gmail.com> Oleg Nesterov <oleg@redhat.com> - " Pavel Machek <pavel@ucw.cz>Peter\0" + Pavel Machek <pavel@ucw.cz> + Peter Zijlstra <peterz@infradead.org> + Ravi V. Shankar <ravi.v.shankar@intel.com> + " Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>\0" "\00:1\0" "b\0" "On Fri, 2018-07-20 at 07:20 -0700, Dave Hansen wrote:\n" @@ -34,14 +37,14 @@ "> > \n" "> > @@ -1193,6 +1195,8 @@ static int\n" "> > do_huge_pmd_wp_page_fallback(struct vm_fault *vmf, pmd_t orig_pmd,\n" - "> > \302\240\t\tpte_t entry;\n" - "> > \302\240\t\tentry = mk_pte(pages[i], vma->vm_page_prot);\n" - "> > \302\240\t\tentry = maybe_mkwrite(pte_mkdirty(entry), vma);\n" + "> > A \t\tpte_t entry;\n" + "> > A \t\tentry = mk_pte(pages[i], vma->vm_page_prot);\n" + "> > A \t\tentry = maybe_mkwrite(pte_mkdirty(entry), vma);\n" "> > +\t\tif (is_shstk_mapping(vma->vm_flags))\n" "> > +\t\t\tentry = pte_mkdirty_shstk(entry);\n" "> Peter Z was pointing out that we should get rid of all this generic\n" "> code\n" - "> manipulation.\302\240\302\240We might not easily be able to do it *all*, but we\n" + "> manipulation.A A We might not easily be able to do it *all*, but we\n" "> can do\n" "> better than what we've got here.\n" "> \n" @@ -56,12 +59,12 @@ "> static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct\n" "> *vma)\n" "> {\n" - "> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240if (likely(vma->vm_flags & VM_WRITE))\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\240pte = pte_mkwrite(pte);\n" + "> A A A A A A A A if (likely(vma->vm_flags & VM_WRITE))\n" + "> A A A A A A A A A A A A A A A A pte = pte_mkwrite(pte);\n" "> \t\n" "> +\tpte = arch_pte_mkwrite(pte, vma);\n" "> +\n" - "> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240return pte;\n" + "> A A A A A A A A return pte;\n" "> }\n" "> \n" "> ... and add an arch callback that does:\n" @@ -78,17 +81,17 @@ "> \tentry = pte_mkdirty_shstk(entry);\n" "> }\n" "> \n" - "> This is just one example.\302\240\302\240You are probably going to need a couple\n" + "> This is just one example.A A You are probably going to need a couple\n" "> of\n" - "> similar things.\302\240\302\240Just remember: the bar is very high to make changes\n" + "> similar things.A A Just remember: the bar is very high to make changes\n" "> to\n" - "> .c files outside of arch/x86.\302\240\302\240You can do a _bit_ more in non-x86\n" + "> .c files outside of arch/x86.A A You can do a _bit_ more in non-x86\n" "> headers, but you have the most freedom to patch what you want as\n" "> long as\n" "> it's in arch/x86.\n" "\n" - "Ok, I will work on that. \302\240Thanks!\n" + "Ok, I will work on that. A Thanks!\n" "\n" Yu-cheng -243782236a475c561ba8ac0e6cafec294b16b179c32b094c041e017d31baace4 +a5a1b45129b59c4574d5dbfc557be795db3898ced8eeae582c193950fa674d42
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.