diff for duplicates of <54B787D7.7040202@suse.com> diff --git a/a/1.txt b/N1/1.txt index 66ed7bf..b623df5 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,7 +2,7 @@ On 01/15/2015 09:58 AM, Christian Borntraeger wrote: > ACCESS_ONCE does not work reliably on non-scalar types. For > example gcc 4.6 and 4.7 might remove the volatile tag for such > accesses during the SRA (scalar replacement of aggregates) step -> (https://gcc.gnu.org/bugzilla/show_bug.cgi?idX145) +> (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145) > > Change the p2m code to replace ACCESS_ONCE with READ_ONCE. > @@ -24,7 +24,13 @@ Reviewed-by: Juergen Gross <jgross@suse.com> > > - p2m_pfn = pte_pfn(ACCESS_ONCE(*ptep)); > + p2m_pfn = pte_pfn(READ_ONCE(*ptep)); -> if (p2m_pfn = PFN_DOWN(__pa(p2m_identity)) || -> p2m_pfn = PFN_DOWN(__pa(p2m_missing))) { +> if (p2m_pfn == PFN_DOWN(__pa(p2m_identity)) || +> p2m_pfn == PFN_DOWN(__pa(p2m_missing))) { > /* p2m leaf page is missing */ > + +-- +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 43d3705..e79ddb0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01421312314-72330-4-git-send-email-borntraeger@de.ibm.com\0" "From\0J\303\274rgen Gro\303\237 <jgross@suse.com>\0" "Subject\0Re: [PATCH 3/8] x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE\0" - "Date\0Thu, 15 Jan 2015 09:26:47 +0000\0" + "Date\0Thu, 15 Jan 2015 10:26:47 +0100\0" "To\0Christian Borntraeger <borntraeger@de.ibm.com>" " linux-kernel@vger.kernel.org\0" "Cc\0linux-arch@vger.kernel.org" @@ -18,7 +18,7 @@ "> ACCESS_ONCE does not work reliably on non-scalar types. For\n" "> example gcc 4.6 and 4.7 might remove the volatile tag for such\n" "> accesses during the SRA (scalar replacement of aggregates) step\n" - "> (https://gcc.gnu.org/bugzilla/show_bug.cgi?idX145)\n" + "> (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145)\n" ">\n" "> Change the p2m code to replace ACCESS_ONCE with READ_ONCE.\n" ">\n" @@ -40,9 +40,15 @@ ">\n" "> -\tp2m_pfn = pte_pfn(ACCESS_ONCE(*ptep));\n" "> +\tp2m_pfn = pte_pfn(READ_ONCE(*ptep));\n" - "> \tif (p2m_pfn = PFN_DOWN(__pa(p2m_identity)) ||\n" - "> \t p2m_pfn = PFN_DOWN(__pa(p2m_missing))) {\n" + "> \tif (p2m_pfn == PFN_DOWN(__pa(p2m_identity)) ||\n" + "> \t p2m_pfn == PFN_DOWN(__pa(p2m_missing))) {\n" "> \t\t/* p2m leaf page is missing */\n" - > + ">\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>" -f50ad127b78a20e748a0bfffbc480908b7590b3fc7565c1c248725ef4a7e9189 +0b8345d8e6a5aa35ad52ac5beea45ed376e30391accda056af08f8fcf350d794
diff --git a/a/1.txt b/N2/1.txt index 66ed7bf..dcdb410 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -2,7 +2,7 @@ On 01/15/2015 09:58 AM, Christian Borntraeger wrote: > ACCESS_ONCE does not work reliably on non-scalar types. For > example gcc 4.6 and 4.7 might remove the volatile tag for such > accesses during the SRA (scalar replacement of aggregates) step -> (https://gcc.gnu.org/bugzilla/show_bug.cgi?idX145) +> (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145) > > Change the p2m code to replace ACCESS_ONCE with READ_ONCE. > @@ -24,7 +24,7 @@ Reviewed-by: Juergen Gross <jgross@suse.com> > > - p2m_pfn = pte_pfn(ACCESS_ONCE(*ptep)); > + p2m_pfn = pte_pfn(READ_ONCE(*ptep)); -> if (p2m_pfn = PFN_DOWN(__pa(p2m_identity)) || -> p2m_pfn = PFN_DOWN(__pa(p2m_missing))) { +> if (p2m_pfn == PFN_DOWN(__pa(p2m_identity)) || +> p2m_pfn == PFN_DOWN(__pa(p2m_missing))) { > /* p2m leaf page is missing */ > diff --git a/a/content_digest b/N2/content_digest index 43d3705..08535e6 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,7 +2,7 @@ "ref\01421312314-72330-4-git-send-email-borntraeger@de.ibm.com\0" "From\0J\303\274rgen Gro\303\237 <jgross@suse.com>\0" "Subject\0Re: [PATCH 3/8] x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE\0" - "Date\0Thu, 15 Jan 2015 09:26:47 +0000\0" + "Date\0Thu, 15 Jan 2015 10:26:47 +0100\0" "To\0Christian Borntraeger <borntraeger@de.ibm.com>" " linux-kernel@vger.kernel.org\0" "Cc\0linux-arch@vger.kernel.org" @@ -18,7 +18,7 @@ "> ACCESS_ONCE does not work reliably on non-scalar types. For\n" "> example gcc 4.6 and 4.7 might remove the volatile tag for such\n" "> accesses during the SRA (scalar replacement of aggregates) step\n" - "> (https://gcc.gnu.org/bugzilla/show_bug.cgi?idX145)\n" + "> (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145)\n" ">\n" "> Change the p2m code to replace ACCESS_ONCE with READ_ONCE.\n" ">\n" @@ -40,9 +40,9 @@ ">\n" "> -\tp2m_pfn = pte_pfn(ACCESS_ONCE(*ptep));\n" "> +\tp2m_pfn = pte_pfn(READ_ONCE(*ptep));\n" - "> \tif (p2m_pfn = PFN_DOWN(__pa(p2m_identity)) ||\n" - "> \t p2m_pfn = PFN_DOWN(__pa(p2m_missing))) {\n" + "> \tif (p2m_pfn == PFN_DOWN(__pa(p2m_identity)) ||\n" + "> \t p2m_pfn == PFN_DOWN(__pa(p2m_missing))) {\n" "> \t\t/* p2m leaf page is missing */\n" > -f50ad127b78a20e748a0bfffbc480908b7590b3fc7565c1c248725ef4a7e9189 +8911e8004b641949d4a55e26655b21ebd69486db8ab68365313d2c007b05a361
diff --git a/a/1.txt b/N3/1.txt index 66ed7bf..dcdb410 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -2,7 +2,7 @@ On 01/15/2015 09:58 AM, Christian Borntraeger wrote: > ACCESS_ONCE does not work reliably on non-scalar types. For > example gcc 4.6 and 4.7 might remove the volatile tag for such > accesses during the SRA (scalar replacement of aggregates) step -> (https://gcc.gnu.org/bugzilla/show_bug.cgi?idX145) +> (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145) > > Change the p2m code to replace ACCESS_ONCE with READ_ONCE. > @@ -24,7 +24,7 @@ Reviewed-by: Juergen Gross <jgross@suse.com> > > - p2m_pfn = pte_pfn(ACCESS_ONCE(*ptep)); > + p2m_pfn = pte_pfn(READ_ONCE(*ptep)); -> if (p2m_pfn = PFN_DOWN(__pa(p2m_identity)) || -> p2m_pfn = PFN_DOWN(__pa(p2m_missing))) { +> if (p2m_pfn == PFN_DOWN(__pa(p2m_identity)) || +> p2m_pfn == PFN_DOWN(__pa(p2m_missing))) { > /* p2m leaf page is missing */ > diff --git a/a/content_digest b/N3/content_digest index 43d3705..98d3469 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -2,23 +2,23 @@ "ref\01421312314-72330-4-git-send-email-borntraeger@de.ibm.com\0" "From\0J\303\274rgen Gro\303\237 <jgross@suse.com>\0" "Subject\0Re: [PATCH 3/8] x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE\0" - "Date\0Thu, 15 Jan 2015 09:26:47 +0000\0" + "Date\0Thu, 15 Jan 2015 10:26:47 +0100\0" "To\0Christian Borntraeger <borntraeger@de.ibm.com>" " linux-kernel@vger.kernel.org\0" "Cc\0linux-arch@vger.kernel.org" kvm@vger.kernel.org - kvm-ppc@vger.kernel.org - linuxppc-dev@lists.ozlabs.org x86@kernel.org + kvm-ppc@vger.kernel.org + linux-mm@kvack.org xen-devel@lists.xenproject.org - " linux-mm@kvack.org\0" + " linuxppc-dev@lists.ozlabs.org\0" "\00:1\0" "b\0" "On 01/15/2015 09:58 AM, Christian Borntraeger wrote:\n" "> ACCESS_ONCE does not work reliably on non-scalar types. For\n" "> example gcc 4.6 and 4.7 might remove the volatile tag for such\n" "> accesses during the SRA (scalar replacement of aggregates) step\n" - "> (https://gcc.gnu.org/bugzilla/show_bug.cgi?idX145)\n" + "> (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145)\n" ">\n" "> Change the p2m code to replace ACCESS_ONCE with READ_ONCE.\n" ">\n" @@ -40,9 +40,9 @@ ">\n" "> -\tp2m_pfn = pte_pfn(ACCESS_ONCE(*ptep));\n" "> +\tp2m_pfn = pte_pfn(READ_ONCE(*ptep));\n" - "> \tif (p2m_pfn = PFN_DOWN(__pa(p2m_identity)) ||\n" - "> \t p2m_pfn = PFN_DOWN(__pa(p2m_missing))) {\n" + "> \tif (p2m_pfn == PFN_DOWN(__pa(p2m_identity)) ||\n" + "> \t p2m_pfn == PFN_DOWN(__pa(p2m_missing))) {\n" "> \t\t/* p2m leaf page is missing */\n" > -f50ad127b78a20e748a0bfffbc480908b7590b3fc7565c1c248725ef4a7e9189 +20877c75bb2eff723cc41b0e11a5f9161e9b437d4f81a7d27d9ea8c9022e9ecb
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.