diff options
author | Waiman Long <[email protected]> | 2019-05-20 16:59:05 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-06-17 12:27:59 +0200 |
commit | 3f6d517a3ece6e6ced7abcbe798ff332ac5ca586 (patch) | |
tree | 43206e2cc7d73f4092731691329c45a9ead7d48d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6cef7ff6e43cbdb9fa8eb91eb9a6b25d45ae11e3 (diff) |
locking/rwsem: Make rwsem_spin_on_owner() return owner state
This patch modifies rwsem_spin_on_owner() to return four possible
values to better reflect the state of lock holder which enables us to
make a better decision of what to do next.
Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: huang ying <[email protected]>
Link: https://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