diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-08-05 11:57:51 +0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-08-06 13:44:43 +0400 |
commit | 36e7fdaa1a04fcf65b864232e1af56a51c7814d6 (patch) | |
tree | fdc1603d6ea44a5c9033f4d1804d982e23708b71 /drivers/s390 | |
parent | 152125b7a882df36a55a8eadbea6d0edf1461ee7 (diff) | |
download | linux-36e7fdaa1a04fcf65b864232e1af56a51c7814d6.tar.xz |
s390/locking: Reenable optimistic spinning
commit 4badad352a6bb202ec68afa7a574c0bb961e5ebc (locking/mutex: Disable
optimistic spinning on some architectures) fenced spinning for
architectures without proper cmpxchg.
There is no need to disable mutex spinning on s390, though:
The instructions CS,CSG and friends provide the proper guarantees.
(We dont implement cmpxchg with locks).
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions