summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-03-03 06:06:43 +0100
committerPaul E. McKenney <paulmck@kernel.org>2020-04-27 20:03:51 +0200
commitc84aad765406c4c7573ce449e8a9977ebb8f4cb9 (patch)
tree32dc99eae3d82ef11ac665489c0cdd0c2661ab01 /tools/testing
parentrcu-tasks: Refactor RCU-tasks to allow variants to be added (diff)
downloadlinux-c84aad765406c4c7573ce449e8a9977ebb8f4cb9.tar.xz
linux-c84aad765406c4c7573ce449e8a9977ebb8f4cb9.zip
rcu-tasks: Add an RCU-tasks rude variant
This commit adds a "rude" variant of RCU-tasks that has as quiescent states schedule(), cond_resched_tasks_rcu_qs(), userspace execution, and (in theory, anyway) cond_resched(). In other words, RCU-tasks rude readers are regions of code with preemption disabled, but excluding code early in the CPU-online sequence and late in the CPU-offline sequence. Updates make use of IPIs and force an IPI and a context switch on each online CPU. This variant is useful in some situations in tracing. Suggested-by: Steven Rostedt <rostedt@goodmis.org> [ paulmck: Apply EXPORT_SYMBOL_GPL() feedback from Qiujun Huang. ] Signed-off-by: Paul E. McKenney <paulmck@kernel.org> [ paulmck: Apply review feedback from Steve Rostedt. ]
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions