aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/bin/jitter.sh
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-01-15 13:30:38 -0800
committerPaul E. McKenney <paulmck@kernel.org>2021-03-08 14:21:41 -0800
commit5e59fba573e64cffc3a7a3113fff2336d652f45a (patch)
treeb87ae20b217f8d8235466dde36d2488d8a293685 /tools/testing/selftests/rcutorture/bin/jitter.sh
parentrcutorture: Make TREE03 use real-time tree.use_softirq setting (diff)
downloadlinux-dev-5e59fba573e64cffc3a7a3113fff2336d652f45a.tar.xz
linux-dev-5e59fba573e64cffc3a7a3113fff2336d652f45a.zip
rcutorture: Fix testing of RCU priority boosting
Currently, rcutorture refuses to test RCU priority boosting in CONFIG_HOTPLUG_CPU=y kernels, which are the only kind normally built on x86 these days. This commit therefore updates rcutorture's tests of RCU priority boosting to make them safe for CPU hotplug. However, these tests will fail unless TIMER_SOFTIRQ runs at realtime priority, which does not happen in current mainline. This commit therefore also refuses to test RCU priority boosting except in kernels built with CONFIG_PREEMPT_RT=y. While in the area, this commt adds some debug output at boost-fail time that helps diagnose the cause of the failure, for example, failing to run TIMER_SOFTIRQ at realtime priority. Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Scott Wood <swood@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/jitter.sh')
0 files changed, 0 insertions, 0 deletions