Re: [PATCH 2/5] locking/mutex: Relax to atomic/release semantics

2015-09-20 Thread Davidlohr Bueso
On Sun, 20 Sep 2015, Linus Torvalds wrote: On Sun, Sep 20, 2015 at 3:11 AM, Davidlohr Bueso wrote: ... by using acquire semantics where appropriate As such, weakly ordered archs can benefit from more relaxed use of barriers when issuing atomics. Subject line is wrong. I'm assuming it should

Re: [PATCH 2/5] locking/mutex: Relax to atomic/release semantics

2015-09-20 Thread Linus Torvalds
On Sun, Sep 20, 2015 at 3:11 AM, Davidlohr Bueso wrote: > ... by using acquire semantics where appropriate As such, weakly > ordered archs can benefit from more relaxed use of barriers when > issuing atomics. Subject line is wrong. I'm assuming it should be acquire/release rather than atomic/rele

[PATCH 2/5] locking/mutex: Relax to atomic/release semantics

2015-09-20 Thread Davidlohr Bueso
... by using acquire semantics where appropriate As such, weakly ordered archs can benefit from more relaxed use of barriers when issuing atomics. Signed-off-by: Davidlohr Bueso --- include/asm-generic/mutex-dec.h | 8 include/asm-generic/mutex-xchg.h | 10 +- kernel/locking/m