diff options
author | 2016-06-03 16:38:14 +0800 | |
---|---|---|
committer | 2016-06-08 15:17:01 +0200 | |
commit | ca50e426f96c905e7d14a9c7a6bd4e0330516047 (patch) | |
tree | e21ab5d1ec87777e8ebdf3d599de233648bc570b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | locking/mutex: Optimize mutex_trylock() fast-path (diff) | |
download | linux-dev-ca50e426f96c905e7d14a9c7a6bd4e0330516047.tar.xz linux-dev-ca50e426f96c905e7d14a9c7a6bd4e0330516047.zip |
locking/qspinlock: Use atomic_sub_return_release() in queued_spin_unlock()
The existing version uses a heavy barrier while only release semantics
is required. So use atomic_sub_return_release() instead.
Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Pan Xinhui <xinhui.pan@linux.vnet.ibm.com>
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: arnd@arndb.de
Cc: waiman.long@hp.com
Link: http://lkml.kernel.org/r/1464943094-3129-1-git-send-email-xinhui.pan@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions