diff options
author | Waiman Long <[email protected]> | 2019-04-04 13:43:13 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-04-10 10:56:01 +0200 |
commit | a338ecb07a338c9a8b0ca0010e862ebe598b1551 (patch) | |
tree | 8dae984357ba838cd16a28c8dbc099edf0ebd473 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 12a30a7fc142a123c61da9623bd824d95d36c12e (diff) |
locking/rwsem: Micro-optimize rwsem_try_read_lock_unqueued()
The atomic_long_cmpxchg_acquire() in rwsem_try_read_lock_unqueued() is
replaced by atomic_long_try_cmpxchg_acquire() to simpify the code and
generate slightly better assembly code.
There is no functional change.
Signed-off-by: Waiman Long <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Acked-by: Will Deacon <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tim Chen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions