diff for duplicates of <1549913486-16799-2-git-send-email-longman@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 23820b6..9753ca3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -209,7 +209,7 @@ index cf8fc8f9..0000000 -{ - long ret = atomic_long_cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, - RWSEM_ACTIVE_WRITE_BIAS); -- if (ret == RWSEM_UNLOCKED_VALUE) +- if (ret = RWSEM_UNLOCKED_VALUE) - return 1; - return 0; -} @@ -235,7 +235,7 @@ index cf8fc8f9..0000000 - :"Ir" (RWSEM_ACTIVE_READ_BIAS), "m" (sem->count) : "memory"); -#endif - if (unlikely(oldcount < 0)) -- if ((int)oldcount - RWSEM_ACTIVE_READ_BIAS == 0) +- if ((int)oldcount - RWSEM_ACTIVE_READ_BIAS = 0) - rwsem_wake(sem); -} - @@ -261,7 +261,7 @@ index cf8fc8f9..0000000 - :"Ir" (RWSEM_ACTIVE_WRITE_BIAS), "m" (sem->count) : "memory"); -#endif - if (unlikely(count)) -- if ((int)count == 0) +- if ((int)count = 0) - rwsem_wake(sem); -} - @@ -443,7 +443,7 @@ index 9179106..0000000 -{ - long result = ia64_fetchadd8_rel((unsigned long *)&sem->count.counter, -1); - -- if (result < 0 && (--result & RWSEM_ACTIVE_MASK) == 0) +- if (result < 0 && (--result & RWSEM_ACTIVE_MASK) = 0) - rwsem_wake(sem); -} - @@ -460,7 +460,7 @@ index 9179106..0000000 - new = old - RWSEM_ACTIVE_WRITE_BIAS; - } while (atomic_long_cmpxchg_release(&sem->count, old, new) != old); - -- if (new < 0 && (new & RWSEM_ACTIVE_MASK) == 0) +- if (new < 0 && (new & RWSEM_ACTIVE_MASK) = 0) - rwsem_wake(sem); -} - @@ -472,7 +472,7 @@ index 9179106..0000000 -{ - long tmp; - while ((tmp = atomic_long_read(&sem->count)) >= 0) { -- if (tmp == atomic_long_cmpxchg_acquire(&sem->count, tmp, tmp+1)) { +- if (tmp = atomic_long_cmpxchg_acquire(&sem->count, tmp, tmp+1)) { - return 1; - } - } @@ -487,7 +487,7 @@ index 9179106..0000000 -{ - long tmp = atomic_long_cmpxchg_acquire(&sem->count, - RWSEM_UNLOCKED_VALUE, RWSEM_ACTIVE_WRITE_BIAS); -- return tmp == RWSEM_UNLOCKED_VALUE; +- return tmp = RWSEM_UNLOCKED_VALUE; -} - -/* @@ -1045,7 +1045,7 @@ index 93e67a0..0000000 - long tmp; - - while ((tmp = atomic_long_read(&sem->count)) >= 0) { -- if (tmp == atomic_long_cmpxchg_acquire(&sem->count, tmp, +- if (tmp = atomic_long_cmpxchg_acquire(&sem->count, tmp, - tmp + RWSEM_ACTIVE_READ_BIAS)) { - return 1; - } @@ -1084,7 +1084,7 @@ index 93e67a0..0000000 - - tmp = atomic_long_cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, - RWSEM_ACTIVE_WRITE_BIAS); -- return tmp == RWSEM_UNLOCKED_VALUE; +- return tmp = RWSEM_UNLOCKED_VALUE; -} - -/* @@ -1095,7 +1095,7 @@ index 93e67a0..0000000 - long tmp; - - tmp = atomic_long_dec_return_release(&sem->count); -- if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0)) +- if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) = 0)) - rwsem_wake(sem); -} - @@ -1225,7 +1225,7 @@ index bad2bca..067e265 100644 + long tmp; + + while ((tmp = atomic_long_read(&sem->count)) >= 0) { -+ if (tmp == atomic_long_cmpxchg_acquire(&sem->count, tmp, ++ if (tmp = atomic_long_cmpxchg_acquire(&sem->count, tmp, + tmp + RWSEM_ACTIVE_READ_BIAS)) { + return 1; + } @@ -1264,7 +1264,7 @@ index bad2bca..067e265 100644 + + tmp = atomic_long_cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, + RWSEM_ACTIVE_WRITE_BIAS); -+ return tmp == RWSEM_UNLOCKED_VALUE; ++ return tmp = RWSEM_UNLOCKED_VALUE; +} + +/* @@ -1275,7 +1275,7 @@ index bad2bca..067e265 100644 + long tmp; + + tmp = atomic_long_dec_return_release(&sem->count); -+ if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0)) ++ if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) = 0)) + rwsem_wake(sem); +} + diff --git a/a/content_digest b/N1/content_digest index 4bba02d..bccacd3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01549913486-16799-1-git-send-email-longman@redhat.com\0" "From\0Waiman Long <longman@redhat.com>\0" "Subject\0[PATCH v2 1/2] locking/rwsem: Remove arch specific rwsem files\0" - "Date\0Mon, 11 Feb 2019 14:31:25 -0500\0" + "Date\0Mon, 11 Feb 2019 19:31:25 +0000\0" "To\0Peter Zijlstra <peterz@infradead.org>" Ingo Molnar <mingo@redhat.com> Will Deacon <will.deacon@arm.com> @@ -238,7 +238,7 @@ "-{\n" "-\tlong ret = atomic_long_cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE,\n" "-\t\t\t RWSEM_ACTIVE_WRITE_BIAS);\n" - "-\tif (ret == RWSEM_UNLOCKED_VALUE)\n" + "-\tif (ret = RWSEM_UNLOCKED_VALUE)\n" "-\t\treturn 1;\n" "-\treturn 0;\n" "-}\n" @@ -264,7 +264,7 @@ "-\t:\"Ir\" (RWSEM_ACTIVE_READ_BIAS), \"m\" (sem->count) : \"memory\");\n" "-#endif\n" "-\tif (unlikely(oldcount < 0))\n" - "-\t\tif ((int)oldcount - RWSEM_ACTIVE_READ_BIAS == 0)\n" + "-\t\tif ((int)oldcount - RWSEM_ACTIVE_READ_BIAS = 0)\n" "-\t\t\trwsem_wake(sem);\n" "-}\n" "-\n" @@ -290,7 +290,7 @@ "-\t:\"Ir\" (RWSEM_ACTIVE_WRITE_BIAS), \"m\" (sem->count) : \"memory\");\n" "-#endif\n" "-\tif (unlikely(count))\n" - "-\t\tif ((int)count == 0)\n" + "-\t\tif ((int)count = 0)\n" "-\t\t\trwsem_wake(sem);\n" "-}\n" "-\n" @@ -472,7 +472,7 @@ "-{\n" "-\tlong result = ia64_fetchadd8_rel((unsigned long *)&sem->count.counter, -1);\n" "-\n" - "-\tif (result < 0 && (--result & RWSEM_ACTIVE_MASK) == 0)\n" + "-\tif (result < 0 && (--result & RWSEM_ACTIVE_MASK) = 0)\n" "-\t\trwsem_wake(sem);\n" "-}\n" "-\n" @@ -489,7 +489,7 @@ "-\t\tnew = old - RWSEM_ACTIVE_WRITE_BIAS;\n" "-\t} while (atomic_long_cmpxchg_release(&sem->count, old, new) != old);\n" "-\n" - "-\tif (new < 0 && (new & RWSEM_ACTIVE_MASK) == 0)\n" + "-\tif (new < 0 && (new & RWSEM_ACTIVE_MASK) = 0)\n" "-\t\trwsem_wake(sem);\n" "-}\n" "-\n" @@ -501,7 +501,7 @@ "-{\n" "-\tlong tmp;\n" "-\twhile ((tmp = atomic_long_read(&sem->count)) >= 0) {\n" - "-\t\tif (tmp == atomic_long_cmpxchg_acquire(&sem->count, tmp, tmp+1)) {\n" + "-\t\tif (tmp = atomic_long_cmpxchg_acquire(&sem->count, tmp, tmp+1)) {\n" "-\t\t\treturn 1;\n" "-\t\t}\n" "-\t}\n" @@ -516,7 +516,7 @@ "-{\n" "-\tlong tmp = atomic_long_cmpxchg_acquire(&sem->count,\n" "-\t\t\tRWSEM_UNLOCKED_VALUE, RWSEM_ACTIVE_WRITE_BIAS);\n" - "-\treturn tmp == RWSEM_UNLOCKED_VALUE;\n" + "-\treturn tmp = RWSEM_UNLOCKED_VALUE;\n" "-}\n" "-\n" "-/*\n" @@ -1074,7 +1074,7 @@ "-\tlong tmp;\n" "-\n" "-\twhile ((tmp = atomic_long_read(&sem->count)) >= 0) {\n" - "-\t\tif (tmp == atomic_long_cmpxchg_acquire(&sem->count, tmp,\n" + "-\t\tif (tmp = atomic_long_cmpxchg_acquire(&sem->count, tmp,\n" "-\t\t\t\t tmp + RWSEM_ACTIVE_READ_BIAS)) {\n" "-\t\t\treturn 1;\n" "-\t\t}\n" @@ -1113,7 +1113,7 @@ "-\n" "-\ttmp = atomic_long_cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE,\n" "-\t\t RWSEM_ACTIVE_WRITE_BIAS);\n" - "-\treturn tmp == RWSEM_UNLOCKED_VALUE;\n" + "-\treturn tmp = RWSEM_UNLOCKED_VALUE;\n" "-}\n" "-\n" "-/*\n" @@ -1124,7 +1124,7 @@ "-\tlong tmp;\n" "-\n" "-\ttmp = atomic_long_dec_return_release(&sem->count);\n" - "-\tif (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0))\n" + "-\tif (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) = 0))\n" "-\t\trwsem_wake(sem);\n" "-}\n" "-\n" @@ -1254,7 +1254,7 @@ "+\tlong tmp;\n" "+\n" "+\twhile ((tmp = atomic_long_read(&sem->count)) >= 0) {\n" - "+\t\tif (tmp == atomic_long_cmpxchg_acquire(&sem->count, tmp,\n" + "+\t\tif (tmp = atomic_long_cmpxchg_acquire(&sem->count, tmp,\n" "+\t\t\t\t tmp + RWSEM_ACTIVE_READ_BIAS)) {\n" "+\t\t\treturn 1;\n" "+\t\t}\n" @@ -1293,7 +1293,7 @@ "+\n" "+\ttmp = atomic_long_cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE,\n" "+\t\t RWSEM_ACTIVE_WRITE_BIAS);\n" - "+\treturn tmp == RWSEM_UNLOCKED_VALUE;\n" + "+\treturn tmp = RWSEM_UNLOCKED_VALUE;\n" "+}\n" "+\n" "+/*\n" @@ -1304,7 +1304,7 @@ "+\tlong tmp;\n" "+\n" "+\ttmp = atomic_long_dec_return_release(&sem->count);\n" - "+\tif (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0))\n" + "+\tif (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) = 0))\n" "+\t\trwsem_wake(sem);\n" "+}\n" "+\n" @@ -1341,4 +1341,4 @@ "-- \n" 1.8.3.1 -f0254388dd7c541588f873fd43321ef914d7491a673a966c9d1cabbe170b7039 +7e7c610166071786b2f14366b76df98d41ed1387f240b32576297eeda5c35d8a
diff --git a/a/content_digest b/N2/content_digest index 4bba02d..18d161d 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -6,25 +6,25 @@ Ingo Molnar <mingo@redhat.com> Will Deacon <will.deacon@arm.com> " Thomas Gleixner <tglx@linutronix.de>\0" - "Cc\0linux-kernel@vger.kernel.org" - linux-alpha@vger.kernel.org - linux-arm-kernel@lists.infradead.org - linux-hexagon@vger.kernel.org + "Cc\0linux-arch@vger.kernel.org" + linux-xtensa@linux-xtensa.org + Davidlohr Bueso <dave@stgolabs.net> linux-ia64@vger.kernel.org - linuxppc-dev@lists.ozlabs.org + Tim Chen <tim.c.chen@linux.intel.com> + Arnd Bergmann <arnd@arndb.de> linux-sh@vger.kernel.org - sparclinux@vger.kernel.org - linux-xtensa@linux-xtensa.org - linux-arch@vger.kernel.org + linux-hexagon@vger.kernel.org x86@kernel.org - Arnd Bergmann <arnd@arndb.de> - Borislav Petkov <bp@alien8.de> H. Peter Anvin <hpa@zytor.com> - Davidlohr Bueso <dave@stgolabs.net> + linux-kernel@vger.kernel.org Linus Torvalds <torvalds@linux-foundation.org> + Borislav Petkov <bp@alien8.de> + linux-alpha@vger.kernel.org + sparclinux@vger.kernel.org + Waiman Long <longman@redhat.com> Andrew Morton <akpm@linux-foundation.org> - Tim Chen <tim.c.chen@linux.intel.com> - " Waiman Long <longman@redhat.com>\0" + linuxppc-dev@lists.ozlabs.org + " linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "As the generic rwsem-xadd code is using the appropriate acquire and\n" @@ -1341,4 +1341,4 @@ "-- \n" 1.8.3.1 -f0254388dd7c541588f873fd43321ef914d7491a673a966c9d1cabbe170b7039 +7517af4350911e2f20334e49621c0520956741291ec6b5ea801f68492235b593
diff --git a/a/1.txt b/N3/1.txt index 23820b6..21a8634 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -1311,3 +1311,9 @@ index bad2bca..067e265 100644 +#endif /* CONFIG_RWSEM_XCHGADD_ALGORITHM */ -- 1.8.3.1 + + +_______________________________________________ +linux-arm-kernel mailing list +linux-arm-kernel@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/a/content_digest b/N3/content_digest index 4bba02d..1dbe30c 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -6,25 +6,25 @@ Ingo Molnar <mingo@redhat.com> Will Deacon <will.deacon@arm.com> " Thomas Gleixner <tglx@linutronix.de>\0" - "Cc\0linux-kernel@vger.kernel.org" - linux-alpha@vger.kernel.org - linux-arm-kernel@lists.infradead.org - linux-hexagon@vger.kernel.org + "Cc\0linux-arch@vger.kernel.org" + linux-xtensa@linux-xtensa.org + Davidlohr Bueso <dave@stgolabs.net> linux-ia64@vger.kernel.org - linuxppc-dev@lists.ozlabs.org + Tim Chen <tim.c.chen@linux.intel.com> + Arnd Bergmann <arnd@arndb.de> linux-sh@vger.kernel.org - sparclinux@vger.kernel.org - linux-xtensa@linux-xtensa.org - linux-arch@vger.kernel.org + linux-hexagon@vger.kernel.org x86@kernel.org - Arnd Bergmann <arnd@arndb.de> - Borislav Petkov <bp@alien8.de> H. Peter Anvin <hpa@zytor.com> - Davidlohr Bueso <dave@stgolabs.net> + linux-kernel@vger.kernel.org Linus Torvalds <torvalds@linux-foundation.org> + Borislav Petkov <bp@alien8.de> + linux-alpha@vger.kernel.org + sparclinux@vger.kernel.org + Waiman Long <longman@redhat.com> Andrew Morton <akpm@linux-foundation.org> - Tim Chen <tim.c.chen@linux.intel.com> - " Waiman Long <longman@redhat.com>\0" + linuxppc-dev@lists.ozlabs.org + " linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "As the generic rwsem-xadd code is using the appropriate acquire and\n" @@ -1339,6 +1339,12 @@ "+\n" "+#endif /* CONFIG_RWSEM_XCHGADD_ALGORITHM */\n" "-- \n" - 1.8.3.1 + "1.8.3.1\n" + "\n" + "\n" + "_______________________________________________\n" + "linux-arm-kernel mailing list\n" + "linux-arm-kernel@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -f0254388dd7c541588f873fd43321ef914d7491a673a966c9d1cabbe170b7039 +95e9ad91924d810c8011881f44e823c4797f2c7dc441a04cec5dadd10eac8650
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.