diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2021-11-29 18:46:45 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-12-04 10:56:23 +0100 |
commit | e08f343be00c3fe8f9f6ac58085c81bcdd231fab (patch) | |
tree | 21b69eed3e05757b650b5f8e7ec32da894773779 /scripts/gdb/linux/tasks.py | |
parent | 9d0df37797453f168afdb2e6fd0353c73718ae9a (diff) |
locking: Remove rt_rwlock_is_contended().
rt_rwlock_is_contended() has no users. It makes no sense to use it as
rwlock_is_contended() because it is a sleeping lock on RT and
preemption is possible. It reports always != 0 if used by a writer and
even if there is a waiter then the lock might not be handed over if
the current owner has the highest priority.
Remove rt_rwlock_is_contended().
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions