]> Git Repo - linux.git/commit
locking/osq: Relax atomic semantics
authorDavidlohr Bueso <[email protected]>
Mon, 14 Sep 2015 07:37:24 +0000 (00:37 -0700)
committerIngo Molnar <[email protected]>
Fri, 18 Sep 2015 07:27:29 +0000 (09:27 +0200)
commitc55a6ffa6285e29f874ed403979472631ec70bff
tree122677e6f6cb995ba2bf53591c9b24e8322e1ff0
parent6e1e5196975fb7ecc501b3fe1075b77aea2b7839
locking/osq: Relax atomic semantics

... by using acquire/release for ops around the lock->tail. As such,
weakly ordered archs can benefit from more relaxed use of barriers
when issuing atomics.

Signed-off-by: Davidlohr Bueso <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Waiman Long <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/locking/osq_lock.c
This page took 0.040963 seconds and 4 git commands to generate.