All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <41DB08BF.4000700@didntduck.org>

diff --git a/a/1.txt b/N1/1.txt
index 1dbb0c7..963f400 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -5,7 +5,8 @@ Christoph Lameter wrote:
 > Signed-off-by: Christoph Lameter <clameter@sgi.com>
 > 
 > Index: linux-2.6.10/include/asm-x86_64/pgalloc.h
-> =================================> --- linux-2.6.10.orig/include/asm-x86_64/pgalloc.h	2005-01-03 10:31:31.000000000 -0800
+> ===================================================================
+> --- linux-2.6.10.orig/include/asm-x86_64/pgalloc.h	2005-01-03 10:31:31.000000000 -0800
 > +++ linux-2.6.10/include/asm-x86_64/pgalloc.h	2005-01-03 12:21:28.000000000 -0800
 > @@ -7,6 +7,10 @@
 >  #include <linux/threads.h>
@@ -23,14 +24,14 @@ Christoph Lameter wrote:
 >  		set_pgd(pgd, __pgd(_PAGE_TABLE | __pa(pud)))
 > 
 > +#define pmd_test_and_populate(mm, pmd, pte) \
-> +		(cmpxchg((int *)pmd, PMD_NONE, _PAGE_TABLE | __pa(pte)) = PMD_NONE)
+> +		(cmpxchg((int *)pmd, PMD_NONE, _PAGE_TABLE | __pa(pte)) == PMD_NONE)
 > +#define pud_test_and_populate(mm, pud, pmd) \
-> +		(cmpxchg((int *)pgd, PUD_NONE, _PAGE_TABLE | __pa(pmd)) = PUD_NONE)
+> +		(cmpxchg((int *)pgd, PUD_NONE, _PAGE_TABLE | __pa(pmd)) == PUD_NONE)
                                  ^^^
 Shouldn't this be pud?
 
 > +#define pgd_test_and_populate(mm, pgd, pud) \
-> +		(cmpxchg((int *)pgd, PGD_NONE, _PAGE_TABLE | __pa(pud)) = PGD_NONE)
+> +		(cmpxchg((int *)pgd, PGD_NONE, _PAGE_TABLE | __pa(pud)) == PGD_NONE)
 > +
 > +
 
diff --git a/a/content_digest b/N1/content_digest
index d4aaf53..b5be7bb 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -9,7 +9,7 @@
  "ref\0Pine.LNX.4.58.0501041137410.805@schroedinger.engr.sgi.com\0"
  "From\0Brian Gerst <bgerst@didntduck.org>\0"
  "Subject\0Re: page fault scalability patch V14 [5/7]: x86_64 atomic pte operations\0"
- "Date\0Tue, 04 Jan 2005 21:21:03 +0000\0"
+ "Date\0Tue, 04 Jan 2005 16:21:03 -0500\0"
  "To\0Christoph Lameter <clameter@sgi.com>\0"
  "Cc\0Linus Torvalds <torvalds@osdl.org>"
   Hugh Dickins <hugh@veritas.com>
@@ -27,7 +27,8 @@
  "> Signed-off-by: Christoph Lameter <clameter@sgi.com>\n"
  "> \n"
  "> Index: linux-2.6.10/include/asm-x86_64/pgalloc.h\n"
- "> =================================> --- linux-2.6.10.orig/include/asm-x86_64/pgalloc.h\t2005-01-03 10:31:31.000000000 -0800\n"
+ "> ===================================================================\n"
+ "> --- linux-2.6.10.orig/include/asm-x86_64/pgalloc.h\t2005-01-03 10:31:31.000000000 -0800\n"
  "> +++ linux-2.6.10/include/asm-x86_64/pgalloc.h\t2005-01-03 12:21:28.000000000 -0800\n"
  "> @@ -7,6 +7,10 @@\n"
  ">  #include <linux/threads.h>\n"
@@ -45,18 +46,18 @@
  ">  \t\tset_pgd(pgd, __pgd(_PAGE_TABLE | __pa(pud)))\n"
  "> \n"
  "> +#define pmd_test_and_populate(mm, pmd, pte) \\\n"
- "> +\t\t(cmpxchg((int *)pmd, PMD_NONE, _PAGE_TABLE | __pa(pte)) = PMD_NONE)\n"
+ "> +\t\t(cmpxchg((int *)pmd, PMD_NONE, _PAGE_TABLE | __pa(pte)) == PMD_NONE)\n"
  "> +#define pud_test_and_populate(mm, pud, pmd) \\\n"
- "> +\t\t(cmpxchg((int *)pgd, PUD_NONE, _PAGE_TABLE | __pa(pmd)) = PUD_NONE)\n"
+ "> +\t\t(cmpxchg((int *)pgd, PUD_NONE, _PAGE_TABLE | __pa(pmd)) == PUD_NONE)\n"
  "                                 ^^^\n"
  "Shouldn't this be pud?\n"
  "\n"
  "> +#define pgd_test_and_populate(mm, pgd, pud) \\\n"
- "> +\t\t(cmpxchg((int *)pgd, PGD_NONE, _PAGE_TABLE | __pa(pud)) = PGD_NONE)\n"
+ "> +\t\t(cmpxchg((int *)pgd, PGD_NONE, _PAGE_TABLE | __pa(pud)) == PGD_NONE)\n"
  "> +\n"
  "> +\n"
  "\n"
  "--\n"
  "\t\t\t\tBrian Gerst"
 
-290c8fcd45c1dcec7d82bc0d2a085a6aa31f6110e9d03919af9f03b5985c667c
+4a6321748ce16d9f60bfcdae5fd5032ef56c3df9a03fdafb6282e6ebc369a6c0

diff --git a/a/1.txt b/N2/1.txt
index 1dbb0c7..437344f 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -5,7 +5,8 @@ Christoph Lameter wrote:
 > Signed-off-by: Christoph Lameter <clameter@sgi.com>
 > 
 > Index: linux-2.6.10/include/asm-x86_64/pgalloc.h
-> =================================> --- linux-2.6.10.orig/include/asm-x86_64/pgalloc.h	2005-01-03 10:31:31.000000000 -0800
+> ===================================================================
+> --- linux-2.6.10.orig/include/asm-x86_64/pgalloc.h	2005-01-03 10:31:31.000000000 -0800
 > +++ linux-2.6.10/include/asm-x86_64/pgalloc.h	2005-01-03 12:21:28.000000000 -0800
 > @@ -7,6 +7,10 @@
 >  #include <linux/threads.h>
@@ -23,16 +24,21 @@ Christoph Lameter wrote:
 >  		set_pgd(pgd, __pgd(_PAGE_TABLE | __pa(pud)))
 > 
 > +#define pmd_test_and_populate(mm, pmd, pte) \
-> +		(cmpxchg((int *)pmd, PMD_NONE, _PAGE_TABLE | __pa(pte)) = PMD_NONE)
+> +		(cmpxchg((int *)pmd, PMD_NONE, _PAGE_TABLE | __pa(pte)) == PMD_NONE)
 > +#define pud_test_and_populate(mm, pud, pmd) \
-> +		(cmpxchg((int *)pgd, PUD_NONE, _PAGE_TABLE | __pa(pmd)) = PUD_NONE)
+> +		(cmpxchg((int *)pgd, PUD_NONE, _PAGE_TABLE | __pa(pmd)) == PUD_NONE)
                                  ^^^
 Shouldn't this be pud?
 
 > +#define pgd_test_and_populate(mm, pgd, pud) \
-> +		(cmpxchg((int *)pgd, PGD_NONE, _PAGE_TABLE | __pa(pud)) = PGD_NONE)
+> +		(cmpxchg((int *)pgd, PGD_NONE, _PAGE_TABLE | __pa(pud)) == PGD_NONE)
 > +
 > +
 
 --
 				Brian Gerst
+--
+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:"aart@kvack.org"> aart@kvack.org </a>
diff --git a/a/content_digest b/N2/content_digest
index d4aaf53..f7c775f 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -9,7 +9,7 @@
  "ref\0Pine.LNX.4.58.0501041137410.805@schroedinger.engr.sgi.com\0"
  "From\0Brian Gerst <bgerst@didntduck.org>\0"
  "Subject\0Re: page fault scalability patch V14 [5/7]: x86_64 atomic pte operations\0"
- "Date\0Tue, 04 Jan 2005 21:21:03 +0000\0"
+ "Date\0Tue, 04 Jan 2005 16:21:03 -0500\0"
  "To\0Christoph Lameter <clameter@sgi.com>\0"
  "Cc\0Linus Torvalds <torvalds@osdl.org>"
   Hugh Dickins <hugh@veritas.com>
@@ -27,7 +27,8 @@
  "> Signed-off-by: Christoph Lameter <clameter@sgi.com>\n"
  "> \n"
  "> Index: linux-2.6.10/include/asm-x86_64/pgalloc.h\n"
- "> =================================> --- linux-2.6.10.orig/include/asm-x86_64/pgalloc.h\t2005-01-03 10:31:31.000000000 -0800\n"
+ "> ===================================================================\n"
+ "> --- linux-2.6.10.orig/include/asm-x86_64/pgalloc.h\t2005-01-03 10:31:31.000000000 -0800\n"
  "> +++ linux-2.6.10/include/asm-x86_64/pgalloc.h\t2005-01-03 12:21:28.000000000 -0800\n"
  "> @@ -7,6 +7,10 @@\n"
  ">  #include <linux/threads.h>\n"
@@ -45,18 +46,23 @@
  ">  \t\tset_pgd(pgd, __pgd(_PAGE_TABLE | __pa(pud)))\n"
  "> \n"
  "> +#define pmd_test_and_populate(mm, pmd, pte) \\\n"
- "> +\t\t(cmpxchg((int *)pmd, PMD_NONE, _PAGE_TABLE | __pa(pte)) = PMD_NONE)\n"
+ "> +\t\t(cmpxchg((int *)pmd, PMD_NONE, _PAGE_TABLE | __pa(pte)) == PMD_NONE)\n"
  "> +#define pud_test_and_populate(mm, pud, pmd) \\\n"
- "> +\t\t(cmpxchg((int *)pgd, PUD_NONE, _PAGE_TABLE | __pa(pmd)) = PUD_NONE)\n"
+ "> +\t\t(cmpxchg((int *)pgd, PUD_NONE, _PAGE_TABLE | __pa(pmd)) == PUD_NONE)\n"
  "                                 ^^^\n"
  "Shouldn't this be pud?\n"
  "\n"
  "> +#define pgd_test_and_populate(mm, pgd, pud) \\\n"
- "> +\t\t(cmpxchg((int *)pgd, PGD_NONE, _PAGE_TABLE | __pa(pud)) = PGD_NONE)\n"
+ "> +\t\t(cmpxchg((int *)pgd, PGD_NONE, _PAGE_TABLE | __pa(pud)) == PGD_NONE)\n"
  "> +\n"
  "> +\n"
  "\n"
  "--\n"
- "\t\t\t\tBrian Gerst"
+ "\t\t\t\tBrian Gerst\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:\"aart@kvack.org\"> aart@kvack.org </a>"
 
-290c8fcd45c1dcec7d82bc0d2a085a6aa31f6110e9d03919af9f03b5985c667c
+38b195bcb91521b477f1e70abb687d0676b70d95b33c400fbf5ac6533b9834bf

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.