diff options
author | Oleg Nesterov <[email protected]> | 2018-05-18 18:55:35 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-05-25 08:11:47 +0200 |
commit | 1b22fc609cecd1b16c4a015e1a6b3c9717484e3a (patch) | |
tree | 261b3bf3f6b89a19ab367b58105acbe1cd1e190d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 675c00c3325723751864cc5867d736c58633cf3d (diff) |
locking/rwsem: Simplify the is-owner-spinnable checks
Add the trivial owner_on_cpu() helper for rwsem_can_spin_on_owner() and
rwsem_spin_on_owner(), it also allows to make rwsem_can_spin_on_owner()
a bit more clear.
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Waiman Long <[email protected]>
Cc: Amir Goldstein <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Theodore Y. Ts'o <[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