• Frederic Weisbecker's avatar
    rcu/nocb: Remove NOCB deferred wakeup from rcutree_dead_cpu() · cba712be
    Frederic Weisbecker authored
    At CPU offline time, we must handle any pending wakeup for the nocb_gp
    kthread linked to the outgoing CPU.
    
    Now we are making sure of that twice:
    
    1) From rcu_report_dead() when the outgoing CPU makes the very last
       local cleanups by itself before switching offline.
    
    2) From rcutree_dead_cpu(). Here the offlining CPU has gone and is truly
       now offline. Another CPU takes care of post-portem cleaning up and
       check if the offline CPU had pending wakeup.
    
    Both ways are fine but we have to choose one or the other because we
    don't need to repeat that action. Simply benefit from cache locality
    and keep only the first solution.
    Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    cba712be
tree.c 153 KB