diff options
author | Frederic Weisbecker <[email protected]> | 2021-02-23 01:10:00 +0100 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2021-03-15 13:54:54 -0700 |
commit | 76d00b494d7962e88d4bbd4135f34aba9019c67f (patch) | |
tree | 82c01fb3a120706461a1f752d96b3baf7174ae13 /tools/testing/selftests/bpf/progs | |
parent | b2fcf2102049f6e56981e0ab3d9b633b8e2741da (diff) |
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 <[email protected]>
Cc: Josh Triplett <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Joel Fernandes <[email protected]>
Cc: Neeraj Upadhyay <[email protected]>
Cc: Boqun Feng <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs')
0 files changed, 0 insertions, 0 deletions