Re: [PATCH] s390/locking: Reenable optimistic spinning

2014-08-06 Thread Heiko Carstens
On Tue, Aug 05, 2014 at 09:57:51AM +0200, Christian Borntraeger wrote: > 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 s

[PATCH] s390/locking: Reenable optimistic spinning

2014-08-05 Thread Christian Borntraeger
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.