aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2020-05-06 10:20:10 -0400
committerSteven Rostedt (VMware) <[email protected]>2020-05-07 13:32:40 -0400
commitd16a8c31077e75ecb9427fbfea59b74eed00f698 (patch)
tree126e7e7715b2d4a92904fce097df68da3aca8a6d /scripts/bpf_helpers_doc.py
parent5b4dcd2d201a395ad4054067bfae4a07554fbd65 (diff)
tracing: Wait for preempt irq delay thread to finish
Running on a slower machine, it is possible that the preempt delay kernel thread may still be executing if the module was immediately removed after added, and this can cause the kernel to crash as the kernel thread might be executing after its code has been removed. There's no reason that the caller of the code shouldn't just wait for the delay thread to finish, as the thread can also be created by a trigger in the sysfs code, which also has the same issues. Link: http://lore.kernel.org/r/[email protected] Cc: [email protected] Fixes: 793937236d1ee ("lib: Add module for testing preemptoff/irqsoff latency tracers") Reported-by: Xiao Yang <[email protected]> Reviewed-by: Xiao Yang <[email protected]> Reviewed-by: Joel Fernandes <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions