diff options
author | Peter Zijlstra <[email protected]> | 2016-04-18 01:27:03 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-06-16 10:48:34 +0200 |
commit | f9852b74bec0117b888da39d070c323ea1cb7f4c (patch) | |
tree | 7a0414aeaa3fd15a67754f8f87ce511fff8dc0d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4ec45856b698c37e73d973fb4b1a094dfb9d5732 (diff) |
locking/atomic, arch/qrwlock: Employ atomic_fetch_add_acquire()
The only reason for the current code is to make GCC emit only the
"LOCK XADD" instruction on x86 (and not do a pointless extra ADD on
the result), do so nicer.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Waiman Long <[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: [email protected]
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions