diff options
author | Waiman Long <longman@redhat.com> | 2022-03-22 11:20:57 -0400 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-04-05 10:24:34 +0200 |
commit | f9e21aa9e6fb11355e54c8949a390d49ca21cde1 (patch) | |
tree | 6e6139c7bf141b171e76a16fc9495d22d2573eeb /tools/perf/scripts/python/netdev-times.py | |
parent | 8b023accc8df70e72f7704d29fead7ca914d6837 (diff) |
locking/rwsem: No need to check for handoff bit if wait queue empty
Since commit d257cc8cb8d5 ("locking/rwsem: Make handoff bit handling
more consistent"), the handoff bit is always cleared if the wait queue
becomes empty. There is no need to check for RWSEM_FLAG_HANDOFF when
the wait list is known to be empty.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220322152059.2182333-2-longman@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions