diff options
author | Sebastian Siewior <[email protected]> | 2020-03-23 16:20:19 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-03-23 18:40:25 +0100 |
commit | 8bf6c677ddb9c922423ea3bf494fe7c508bfbb8c (patch) | |
tree | cd6f9bd2f9bc8054af511ef99185af5eea713e91 /tools/perf/scripts/python/check-perf-trace.py | |
parent | d53f2b62fcb63f6547c10d8c62bca19e957b0eef (diff) |
completion: Use lockdep_assert_RT_in_threaded_ctx() in complete_all()
The warning was intended to spot complete_all() users from hardirq
context on PREEMPT_RT. The warning as-is will also trigger in interrupt
handlers, which are threaded on PREEMPT_RT, which was not intended.
Use lockdep_assert_RT_in_threaded_ctx() which triggers in non-preemptive
context on PREEMPT_RT.
Fixes: a5c6234e1028 ("completion: Use simple wait queues")
Reported-by: kernel test robot <[email protected]>
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions