diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2015-09-14 00:37:24 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-09-18 09:27:29 +0200 |
commit | c55a6ffa6285e29f874ed403979472631ec70bff (patch) | |
tree | 122677e6f6cb995ba2bf53591c9b24e8322e1ff0 /net/core/sock.c | |
parent | 6e1e5196975fb7ecc501b3fe1075b77aea2b7839 (diff) | |
download | linux-c55a6ffa6285e29f874ed403979472631ec70bff.tar.gz linux-c55a6ffa6285e29f874ed403979472631ec70bff.tar.bz2 linux-c55a6ffa6285e29f874ed403979472631ec70bff.zip |
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 <dbueso@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman Long <Waiman.Long@hpe.com>
Link: http://lkml.kernel.org/r/1442216244-4409-3-git-send-email-dave@stgolabs.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions