diff options
author | Waiman Long <[email protected]> | 2016-05-17 21:26:23 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-06-08 15:17:00 +0200 |
commit | ddd0fa73c2b71c35de4fe7ae60a5f1a6cddc2cf0 (patch) | |
tree | 6ff6f3e9c5f3b7866ceb0d1608e49ce6f4c90043 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bf7b4c472db44413251bcef79ca1f6bf1ec81475 (diff) |
locking/rwsem: Streamline the rwsem_optimistic_spin() code
This patch moves the owner loading and checking code entirely inside of
rwsem_spin_on_owner() to simplify the logic of rwsem_optimistic_spin()
loop.
Suggested-by: Peter Hurley <[email protected]>
Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Peter Hurley <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Douglas Hatch <[email protected]>
Cc: Jason Low <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Scott J Norton <[email protected]>
Cc: Thomas Gleixner <[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-postgresql.py')
0 files changed, 0 insertions, 0 deletions