diff options
author | 2020-03-20 14:29:08 -0700 | |
---|---|---|
committer | 2020-04-27 11:03:52 -0700 | |
commit | b38f57c1fe64276773b124dffb0a139cc32ab3cb (patch) | |
tree | b69915f8632122f65bc6a692bf8edfbec71228ff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu-tasks: Avoid IPIing userspace/idle tasks if kernel is so built (diff) | |
download | wireguard-linux-b38f57c1fe64276773b124dffb0a139cc32ab3cb.tar.xz wireguard-linux-b38f57c1fe64276773b124dffb0a139cc32ab3cb.zip |
rcu-tasks: Allow rcu_read_unlock_trace() under scheduler locks
The rcu_read_unlock_trace() can invoke rcu_read_unlock_trace_special(),
which in turn can call wake_up(). Therefore, if any scheduler lock is
held across a call to rcu_read_unlock_trace(), self-deadlock can occur.
This commit therefore uses the irq_work facility to defer the wake_up()
to a clean environment where no scheduler locks will be held.
Reported-by: Steven Rostedt <rostedt@goodmis.org>
[ paulmck: Update #includes for m68k per kbuild test robot. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions