• Frederic Weisbecker's avatar
    rcu/nocb: Disable bypass when CPU isn't completely offloaded · 76d00b49
    Frederic Weisbecker authored
    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: default avatarPaul 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: default avatarFrederic Weisbecker <frederic@kernel.org>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    76d00b49
tree_plugin.h 92.7 KB