diff for duplicates of <20190322143008.21313-2-longman@redhat.com> diff --git a/a/content_digest b/N1/content_digest index 27c3acc..910e239 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -30,8 +30,7 @@ Arnd Bergmann <arnd@arndb.de> Borislav Petkov <bp@alien8.de> H. Peter Anvin <hpa@zytor.com> - Davidlohr Bueso <dave@stgolabs.net> - " Linus Torvalds <tor>\0" + " Davidlohr Bueso <dave@stgolabs.net>Linus Torvalds <tor>\0" "\00:1\0" "b\0" "As the generic rwsem-xadd code is using the appropriate acquire and\n" @@ -1361,4 +1360,4 @@ "-- \n" 2.18.1 -9568c8a91924e8840ea1149706168fc86c7228114249cbc3b708e084eab3ed49 +99d39c2487321457f9b02a55da417e1f3535eb436246cf41e7d50e091b988255
diff --git a/a/content_digest b/N2/content_digest index 27c3acc..b12e133 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -31,7 +31,10 @@ Borislav Petkov <bp@alien8.de> H. Peter Anvin <hpa@zytor.com> Davidlohr Bueso <dave@stgolabs.net> - " Linus Torvalds <tor>\0" + Linus Torvalds <torvalds@linux-foundation.org> + Andrew Morton <akpm@linux-foundation.org> + Tim Chen <tim.c.chen@linux.intel.com> + " Waiman Long <longman@redhat.com>\0" "\00:1\0" "b\0" "As the generic rwsem-xadd code is using the appropriate acquire and\n" @@ -1361,4 +1364,4 @@ "-- \n" 2.18.1 -9568c8a91924e8840ea1149706168fc86c7228114249cbc3b708e084eab3ed49 +456b7cbc24d26b3c3e1094e102aa6a1261df8bc5918f970652e98361629b4205
diff --git a/a/1.txt b/N3/1.txt index b09da9d..3ebf1b9 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -210,7 +210,7 @@ index cf8fc8f9a2ed..000000000000 -{ - 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; -} @@ -236,7 +236,7 @@ index cf8fc8f9a2ed..000000000000 - :"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); -} - @@ -262,7 +262,7 @@ index cf8fc8f9a2ed..000000000000 - :"Ir" (RWSEM_ACTIVE_WRITE_BIAS), "m" (sem->count) : "memory"); -#endif - if (unlikely(count)) -- if ((int)count == 0) +- if ((int)count = 0) - rwsem_wake(sem); -} - @@ -444,7 +444,7 @@ index 917910607e0e..000000000000 -{ - 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); -} - @@ -461,7 +461,7 @@ index 917910607e0e..000000000000 - 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); -} - @@ -473,7 +473,7 @@ index 917910607e0e..000000000000 -{ - 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; - } - } @@ -488,7 +488,7 @@ index 917910607e0e..000000000000 -{ - 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; -} - -/* @@ -1058,7 +1058,7 @@ index 93e67a055a4d..000000000000 - 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; - } @@ -1097,7 +1097,7 @@ index 93e67a055a4d..000000000000 - - tmp = atomic_long_cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, - RWSEM_ACTIVE_WRITE_BIAS); -- return tmp == RWSEM_UNLOCKED_VALUE; +- return tmp = RWSEM_UNLOCKED_VALUE; -} - -/* @@ -1108,7 +1108,7 @@ index 93e67a055a4d..000000000000 - 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); -} - @@ -1238,7 +1238,7 @@ index bad2bca0268b..067e265fa5c1 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; + } @@ -1277,7 +1277,7 @@ index bad2bca0268b..067e265fa5c1 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; +} + +/* @@ -1288,7 +1288,7 @@ index bad2bca0268b..067e265fa5c1 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/N3/content_digest index 27c3acc..3c738b3 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -1,7 +1,7 @@ "ref\020190322143008.21313-1-longman@redhat.com\0" "From\0Waiman Long <longman@redhat.com>\0" "Subject\0[PATCH v5 1/3] locking/rwsem: Remove arch specific rwsem files\0" - "Date\0Fri, 22 Mar 2019 10:30:06 -0400\0" + "Date\0Fri, 22 Mar 2019 14:30:06 +0000\0" "To\0Peter Zijlstra <peterz@infradead.org>" Ingo Molnar <mingo@redhat.com> Will Deacon <will.deacon@arm.com> @@ -246,7 +246,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" @@ -272,7 +272,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" @@ -298,7 +298,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" @@ -480,7 +480,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" @@ -497,7 +497,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" @@ -509,7 +509,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" @@ -524,7 +524,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" @@ -1094,7 +1094,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" @@ -1133,7 +1133,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" @@ -1144,7 +1144,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" @@ -1274,7 +1274,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" @@ -1313,7 +1313,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" @@ -1324,7 +1324,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" @@ -1361,4 +1361,4 @@ "-- \n" 2.18.1 -9568c8a91924e8840ea1149706168fc86c7228114249cbc3b708e084eab3ed49 +f506cab5c3b84f3277b858cd2ff544b7e4a1c5d3bfdf02cf7e8a27cd898371b6
diff --git a/a/1.txt b/N4/1.txt index b09da9d..1144a28 100644 --- a/a/1.txt +++ b/N4/1.txt @@ -1324,3 +1324,9 @@ index bad2bca0268b..067e265fa5c1 100644 +#endif /* CONFIG_RWSEM_XCHGADD_ALGORITHM */ -- 2.18.1 + + +_______________________________________________ +linux-riscv mailing list +linux-riscv@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-riscv diff --git a/a/content_digest b/N4/content_digest index 27c3acc..a551b8f 100644 --- a/a/content_digest +++ b/N4/content_digest @@ -6,32 +6,35 @@ 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-c6x-dev@linux-c6x.org - uclinux-h8-devel@lists.sourceforge.jp - linux-hexagon@vger.kernel.org - linux-ia64@vger.kernel.org - linux-m68k@lists.linux-m68k.org - linux-mips@vger.kernel.org - nios2-dev@lists.rocketboards.org - openrisc@lists.librecores.org - linux-parisc@vger.kernel.org - linuxppc-dev@lists.ozlabs.org - linux-riscv@lists.infradead.org - linux-s390@vger.kernel.org + "Cc\0linux-ia64@vger.kernel.org" linux-sh@vger.kernel.org + linux-mips@vger.kernel.org + H. Peter Anvin <hpa@zytor.com> sparclinux@vger.kernel.org - linux-um@lists.infradead.org - linux-xtensa@linux-xtensa.org + linux-riscv@lists.infradead.org linux-arch@vger.kernel.org + linux-s390@vger.kernel.org + Davidlohr Bueso <dave@stgolabs.net> + linux-c6x-dev@linux-c6x.org + linux-hexagon@vger.kernel.org x86@kernel.org + Waiman Long <longman@redhat.com> + uclinux-h8-devel@lists.sourceforge.jp + linux-xtensa@linux-xtensa.org Arnd Bergmann <arnd@arndb.de> + linux-um@lists.infradead.org + linux-m68k@lists.linux-m68k.org + openrisc@lists.librecores.org Borislav Petkov <bp@alien8.de> - H. Peter Anvin <hpa@zytor.com> - Davidlohr Bueso <dave@stgolabs.net> - " Linus Torvalds <tor>\0" + linux-arm-kernel@lists.infradead.org + Tim Chen <tim.c.chen@linux.intel.com> + linux-parisc@vger.kernel.org + Linus Torvalds <torvalds@linux-foundation.org> + linux-kernel@vger.kernel.org + linux-alpha@vger.kernel.org + nios2-dev@lists.rocketboards.org + Andrew Morton <akpm@linux-foundation.org> + " linuxppc-dev@lists.ozlabs.org\0" "\00:1\0" "b\0" "As the generic rwsem-xadd code is using the appropriate acquire and\n" @@ -1359,6 +1362,12 @@ "+\n" "+#endif /* CONFIG_RWSEM_XCHGADD_ALGORITHM */\n" "-- \n" - 2.18.1 + "2.18.1\n" + "\n" + "\n" + "_______________________________________________\n" + "linux-riscv mailing list\n" + "linux-riscv@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-riscv -9568c8a91924e8840ea1149706168fc86c7228114249cbc3b708e084eab3ed49 +ac8a7830a57e5f54ae73da0193319d95bfe669e18e602fc8a36e18a69dc2b4a7
diff --git a/a/1.txt b/N5/1.txt index b09da9d..3ebf1b9 100644 --- a/a/1.txt +++ b/N5/1.txt @@ -210,7 +210,7 @@ index cf8fc8f9a2ed..000000000000 -{ - 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; -} @@ -236,7 +236,7 @@ index cf8fc8f9a2ed..000000000000 - :"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); -} - @@ -262,7 +262,7 @@ index cf8fc8f9a2ed..000000000000 - :"Ir" (RWSEM_ACTIVE_WRITE_BIAS), "m" (sem->count) : "memory"); -#endif - if (unlikely(count)) -- if ((int)count == 0) +- if ((int)count = 0) - rwsem_wake(sem); -} - @@ -444,7 +444,7 @@ index 917910607e0e..000000000000 -{ - 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); -} - @@ -461,7 +461,7 @@ index 917910607e0e..000000000000 - 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); -} - @@ -473,7 +473,7 @@ index 917910607e0e..000000000000 -{ - 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; - } - } @@ -488,7 +488,7 @@ index 917910607e0e..000000000000 -{ - 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; -} - -/* @@ -1058,7 +1058,7 @@ index 93e67a055a4d..000000000000 - 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; - } @@ -1097,7 +1097,7 @@ index 93e67a055a4d..000000000000 - - tmp = atomic_long_cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, - RWSEM_ACTIVE_WRITE_BIAS); -- return tmp == RWSEM_UNLOCKED_VALUE; +- return tmp = RWSEM_UNLOCKED_VALUE; -} - -/* @@ -1108,7 +1108,7 @@ index 93e67a055a4d..000000000000 - 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); -} - @@ -1238,7 +1238,7 @@ index bad2bca0268b..067e265fa5c1 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; + } @@ -1277,7 +1277,7 @@ index bad2bca0268b..067e265fa5c1 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; +} + +/* @@ -1288,7 +1288,7 @@ index bad2bca0268b..067e265fa5c1 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/N5/content_digest index 27c3acc..8d65b4c 100644 --- a/a/content_digest +++ b/N5/content_digest @@ -1,7 +1,7 @@ "ref\020190322143008.21313-1-longman@redhat.com\0" "From\0Waiman Long <longman@redhat.com>\0" "Subject\0[PATCH v5 1/3] locking/rwsem: Remove arch specific rwsem files\0" - "Date\0Fri, 22 Mar 2019 10:30:06 -0400\0" + "Date\0Fri, 22 Mar 2019 14:30:06 +0000\0" "To\0Peter Zijlstra <peterz@infradead.org>" Ingo Molnar <mingo@redhat.com> Will Deacon <will.deacon@arm.com> @@ -30,8 +30,7 @@ Arnd Bergmann <arnd@arndb.de> Borislav Petkov <bp@alien8.de> H. Peter Anvin <hpa@zytor.com> - Davidlohr Bueso <dave@stgolabs.net> - " Linus Torvalds <tor>\0" + " Davidlohr Bueso <dave@stgolabs.net>Linus Torvalds <tor>\0" "\00:1\0" "b\0" "As the generic rwsem-xadd code is using the appropriate acquire and\n" @@ -246,7 +245,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" @@ -272,7 +271,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" @@ -298,7 +297,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" @@ -480,7 +479,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" @@ -497,7 +496,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" @@ -509,7 +508,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" @@ -524,7 +523,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" @@ -1094,7 +1093,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" @@ -1133,7 +1132,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" @@ -1144,7 +1143,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" @@ -1274,7 +1273,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" @@ -1313,7 +1312,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" @@ -1324,7 +1323,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" @@ -1361,4 +1360,4 @@ "-- \n" 2.18.1 -9568c8a91924e8840ea1149706168fc86c7228114249cbc3b708e084eab3ed49 +4b380a6db1261b2282f148fce7a976fa73dc449669231d4895fb5bdfe81c6592
diff --git a/a/1.txt b/N6/1.txt index b09da9d..b502b6e 100644 --- a/a/1.txt +++ b/N6/1.txt @@ -565,7 +565,7 @@ index 4c25cf6caefa..000000000000 -/* SPDX-License-Identifier: GPL-2.0 */ -/* rwsem.h: R/W semaphores implemented using XADD/CMPXCHG for i486+ - * -- * Written by David Howells (dhowells@redhat.com). +- * Written by David Howells (dhowells at redhat.com). - * - * Derived from asm-x86/semaphore.h - * @@ -590,7 +590,7 @@ index 4c25cf6caefa..000000000000 - * This should be totally fair - if anything is waiting, a process that wants a - * lock will go to the back of the queue. When the currently active lock is - * released, if there's a writer at the front of the queue, then that and only -- * that will be woken up; if there's a bunch of consecutive readers at the +- * that will be woken up; if there's a bunch of consecutive readers@the - * front, then they'll all be woken up, but no other readers will be. - */ - diff --git a/a/content_digest b/N6/content_digest index 27c3acc..3cf7e50 100644 --- a/a/content_digest +++ b/N6/content_digest @@ -1,37 +1,8 @@ "ref\020190322143008.21313-1-longman@redhat.com\0" "From\0Waiman Long <longman@redhat.com>\0" - "Subject\0[PATCH v5 1/3] locking/rwsem: Remove arch specific rwsem files\0" + "Subject\0[OpenRISC] [PATCH v5 1/3] locking/rwsem: Remove arch specific rwsem files\0" "Date\0Fri, 22 Mar 2019 10:30:06 -0400\0" - "To\0Peter Zijlstra <peterz@infradead.org>" - 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-c6x-dev@linux-c6x.org - uclinux-h8-devel@lists.sourceforge.jp - linux-hexagon@vger.kernel.org - linux-ia64@vger.kernel.org - linux-m68k@lists.linux-m68k.org - linux-mips@vger.kernel.org - nios2-dev@lists.rocketboards.org - openrisc@lists.librecores.org - linux-parisc@vger.kernel.org - linuxppc-dev@lists.ozlabs.org - linux-riscv@lists.infradead.org - linux-s390@vger.kernel.org - linux-sh@vger.kernel.org - sparclinux@vger.kernel.org - linux-um@lists.infradead.org - linux-xtensa@linux-xtensa.org - linux-arch@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> - " Linus Torvalds <tor>\0" + "To\0openrisc@lists.librecores.org\0" "\00:1\0" "b\0" "As the generic rwsem-xadd code is using the appropriate acquire and\n" @@ -601,7 +572,7 @@ "-/* SPDX-License-Identifier: GPL-2.0 */\n" "-/* rwsem.h: R/W semaphores implemented using XADD/CMPXCHG for i486+\n" "- *\n" - "- * Written by David Howells (dhowells@redhat.com).\n" + "- * Written by David Howells (dhowells at redhat.com).\n" "- *\n" "- * Derived from asm-x86/semaphore.h\n" "- *\n" @@ -626,7 +597,7 @@ "- * This should be totally fair - if anything is waiting, a process that wants a\n" "- * lock will go to the back of the queue. When the currently active lock is\n" "- * released, if there's a writer at the front of the queue, then that and only\n" - "- * that will be woken up; if there's a bunch of consecutive readers at the\n" + "- * that will be woken up; if there's a bunch of consecutive readers@the\n" "- * front, then they'll all be woken up, but no other readers will be.\n" "- */\n" "-\n" @@ -1361,4 +1332,4 @@ "-- \n" 2.18.1 -9568c8a91924e8840ea1149706168fc86c7228114249cbc3b708e084eab3ed49 +a77f902b97a2cfa076bde4aaf88246eb74be9713801c528a123f71d275a4f230
diff --git a/a/content_digest b/N7/content_digest index 27c3acc..911a9e4 100644 --- a/a/content_digest +++ b/N7/content_digest @@ -6,32 +6,35 @@ 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-c6x-dev@linux-c6x.org - uclinux-h8-devel@lists.sourceforge.jp - linux-hexagon@vger.kernel.org - linux-ia64@vger.kernel.org - linux-m68k@lists.linux-m68k.org - linux-mips@vger.kernel.org - nios2-dev@lists.rocketboards.org - openrisc@lists.librecores.org - linux-parisc@vger.kernel.org - linuxppc-dev@lists.ozlabs.org - linux-riscv@lists.infradead.org - linux-s390@vger.kernel.org + "Cc\0linux-ia64@vger.kernel.org" linux-sh@vger.kernel.org + linux-mips@vger.kernel.org + H. Peter Anvin <hpa@zytor.com> sparclinux@vger.kernel.org - linux-um@lists.infradead.org - linux-xtensa@linux-xtensa.org + linux-riscv@lists.infradead.org linux-arch@vger.kernel.org + linux-s390@vger.kernel.org + Davidlohr Bueso <dave@stgolabs.net> + linux-c6x-dev@linux-c6x.org + linux-hexagon@vger.kernel.org x86@kernel.org + Waiman Long <longman@redhat.com> + uclinux-h8-devel@lists.sourceforge.jp + linux-xtensa@linux-xtensa.org Arnd Bergmann <arnd@arndb.de> + linux-um@lists.infradead.org + linux-m68k@lists.linux-m68k.org + openrisc@lists.librecores.org Borislav Petkov <bp@alien8.de> - H. Peter Anvin <hpa@zytor.com> - Davidlohr Bueso <dave@stgolabs.net> - " Linus Torvalds <tor>\0" + linux-arm-kernel@lists.infradead.org + Tim Chen <tim.c.chen@linux.intel.com> + linux-parisc@vger.kernel.org + Linus Torvalds <torvalds@linux-foundation.org> + linux-kernel@vger.kernel.org + linux-alpha@vger.kernel.org + nios2-dev@lists.rocketboards.org + Andrew Morton <akpm@linux-foundation.org> + " linuxppc-dev@lists.ozlabs.org\0" "\00:1\0" "b\0" "As the generic rwsem-xadd code is using the appropriate acquire and\n" @@ -1361,4 +1364,4 @@ "-- \n" 2.18.1 -9568c8a91924e8840ea1149706168fc86c7228114249cbc3b708e084eab3ed49 +939a7158daae8688a333ce6be0b33eda655628e6975f92eab9ba346e6d2452bf
diff --git a/a/1.txt b/N8/1.txt index b09da9d..192cb2e 100644 --- a/a/1.txt +++ b/N8/1.txt @@ -1324,3 +1324,9 @@ index bad2bca0268b..067e265fa5c1 100644 +#endif /* CONFIG_RWSEM_XCHGADD_ALGORITHM */ -- 2.18.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/N8/content_digest index 27c3acc..c859f02 100644 --- a/a/content_digest +++ b/N8/content_digest @@ -6,32 +6,35 @@ 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-c6x-dev@linux-c6x.org - uclinux-h8-devel@lists.sourceforge.jp - linux-hexagon@vger.kernel.org - linux-ia64@vger.kernel.org - linux-m68k@lists.linux-m68k.org - linux-mips@vger.kernel.org - nios2-dev@lists.rocketboards.org - openrisc@lists.librecores.org - linux-parisc@vger.kernel.org - linuxppc-dev@lists.ozlabs.org - linux-riscv@lists.infradead.org - linux-s390@vger.kernel.org + "Cc\0linux-ia64@vger.kernel.org" linux-sh@vger.kernel.org + linux-mips@vger.kernel.org + H. Peter Anvin <hpa@zytor.com> sparclinux@vger.kernel.org - linux-um@lists.infradead.org - linux-xtensa@linux-xtensa.org + linux-riscv@lists.infradead.org linux-arch@vger.kernel.org + linux-s390@vger.kernel.org + Davidlohr Bueso <dave@stgolabs.net> + linux-c6x-dev@linux-c6x.org + linux-hexagon@vger.kernel.org x86@kernel.org + Waiman Long <longman@redhat.com> + uclinux-h8-devel@lists.sourceforge.jp + linux-xtensa@linux-xtensa.org Arnd Bergmann <arnd@arndb.de> + linux-um@lists.infradead.org + linux-m68k@lists.linux-m68k.org + openrisc@lists.librecores.org Borislav Petkov <bp@alien8.de> - H. Peter Anvin <hpa@zytor.com> - Davidlohr Bueso <dave@stgolabs.net> - " Linus Torvalds <tor>\0" + linux-arm-kernel@lists.infradead.org + Tim Chen <tim.c.chen@linux.intel.com> + linux-parisc@vger.kernel.org + Linus Torvalds <torvalds@linux-foundation.org> + linux-kernel@vger.kernel.org + linux-alpha@vger.kernel.org + nios2-dev@lists.rocketboards.org + Andrew Morton <akpm@linux-foundation.org> + " linuxppc-dev@lists.ozlabs.org\0" "\00:1\0" "b\0" "As the generic rwsem-xadd code is using the appropriate acquire and\n" @@ -1359,6 +1362,12 @@ "+\n" "+#endif /* CONFIG_RWSEM_XCHGADD_ALGORITHM */\n" "-- \n" - 2.18.1 + "2.18.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 -9568c8a91924e8840ea1149706168fc86c7228114249cbc3b708e084eab3ed49 +1407e4297abdae2d904d422797725916f09943b03e912e623358bd2e047be6fd
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.