• Frederic Weisbecker's avatar
    rcu/nocb: De-offloading CB kthread · d97b0781
    Frederic Weisbecker authored
    To de-offload callback processing back onto a CPU, it is necessary to
    clear SEGCBLIST_OFFLOAD and notify the nocb CB kthread, which will then
    clear its own bit flag and go to sleep to stop handling callbacks.  This
    commit makes that change.  It will also be necessary to notify the nocb
    GP kthread in this same way, which is the subject of a follow-on commit.
    
    Cc: Josh Triplett <josh@joshtriplett.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Lai Jiangshan <jiangshanlai@gmail.com>
    Cc: Joel Fernandes <joel@joelfernandes.org>
    Cc: Neeraj Upadhyay <neeraju@codeaurora.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Inspired-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    Tested-by: default avatarBoqun Feng <boqun.feng@gmail.com>
    Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
    [ paulmck: Add export per kernel test robot feedback. ]
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    d97b0781
tree.h 19.6 KB