]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rcu/nocb: Remove obsolete nocb_gp_head and nocb_gp_tail fields
authorPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 21 May 2019 16:20:10 +0000 (09:20 -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

index 6e4cf7de303faedb7a1c85468d75eb9eaf8da7eb..c12e85c12310e0934fa81d2e5c1b86049f7c24c4 100644 (file)
@@ -201,10 +201,8 @@ struct rcu_data {
        struct timer_list nocb_timer;   /* Enforce finite deferral. */
 
        /* The following fields are used by GP kthread, hence own cacheline. */
-       struct rcu_head *nocb_gp_head ____cacheline_internodealigned_in_smp;
-                                       /* CBs waiting for GP. */
-       struct rcu_head **nocb_gp_tail;
-       bool nocb_gp_sleep;             /* Is the nocb GP thread asleep? */
+       bool nocb_gp_sleep ____cacheline_internodealigned_in_smp;
+                                       /* Is the nocb GP thread asleep? */
        struct swait_queue_head nocb_gp_wq; /* For nocb kthreads to sleep on. */
        bool nocb_cb_sleep;             /* Is the nocb CB thread asleep? */
        struct task_struct *nocb_cb_kthread;