aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/bin/jitter.sh
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2021-02-23 01:10:00 +0100
committerPaul E. McKenney <paulmck@kernel.org>2021-03-15 13:54:54 -0700
commit76d00b494d7962e88d4bbd4135f34aba9019c67f (patch)
tree82c01fb3a120706461a1f752d96b3baf7174ae13 /tools/testing/selftests/rcutorture/bin/jitter.sh
parentrcu/nocb: Fix missed nocb_timer requeue (diff)
downloadlinux-dev-76d00b494d7962e88d4bbd4135f34aba9019c67f.tar.xz
linux-dev-76d00b494d7962e88d4bbd4135f34aba9019c67f.zip
rcu/nocb: Disable bypass when CPU isn't completely offloaded
Currently, the bypass is flushed at the very last moment in the deoffloading procedure. However, this approach leads to a larger state space than would be preferred. This commit therefore disables the bypass at soon as the deoffloading procedure begins, then flushes it. This guarantees that the bypass remains empty and thus out of the way of the deoffloading procedure. Symmetrically, this commit waits to enable the bypass until the offloading procedure has completed. Reported-by: Paul E. McKenney <paulmck@kernel.org> Cc: Josh Triplett <josh@joshtriplett.org> Cc: Lai Jiangshan <jiangshanlai@gmail.com> Cc: Joel Fernandes <joel@joelfernandes.org> Cc: Neeraj Upadhyay <neeraju@codeaurora.org> Cc: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Frederic Weisbecker <frederic@kernel.org> 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