rcu/nocb: Remove obsolete nocb_cb_tail and nocb_cb_head fields
authorPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 21 May 2019 16:10:24 +0000 (09:10 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 13 Aug 2019 21:35:49 +0000 (14:35 -0700)
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/tree.h
kernel/rcu/tree_plugin.h

index d1df192272fb9b8ffee48ca7cbde5c883d9241f6..6e4cf7de303faedb7a1c85468d75eb9eaf8da7eb 100644 (file)
@@ -194,8 +194,6 @@ struct rcu_data {
 
        /* 5) Callback offloading. */
 #ifdef CONFIG_RCU_NOCB_CPU
-       struct rcu_head *nocb_cb_head;  /* CBs ready to invoke. */
-       struct rcu_head **nocb_cb_tail;
        struct swait_queue_head nocb_cb_wq; /* For nocb kthreads to sleep on. */
        struct task_struct *nocb_gp_kthread;
        raw_spinlock_t nocb_lock;       /* Guard following pair of fields. */
index 458838c63a6c9784f56546cc4435d37784716daf..1847fffdfa0a6647304d607e8c647379e7128509 100644 (file)
@@ -1913,7 +1913,6 @@ static void __init rcu_boot_init_nocb_percpu_data(struct rcu_data *rdp)
 {
        init_swait_queue_head(&rdp->nocb_cb_wq);
        init_swait_queue_head(&rdp->nocb_gp_wq);
-       rdp->nocb_cb_tail = &rdp->nocb_cb_head;
        raw_spin_lock_init(&rdp->nocb_lock);
        timer_setup(&rdp->nocb_timer, do_nocb_deferred_wakeup_timer, 0);
 }