rcu: Remove unused rcu_state.boost
authorNeeraj Upadhyay <quic_neeraju@quicinc.com>
Mon, 13 Dec 2021 07:02:09 +0000 (12:32 +0530)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Feb 2022 01:19:02 +0000 (17:19 -0800)
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.h
kernel/rcu/tree_plugin.h

index 24dd4b0d805f12dfb11134bc42d02945294b55b5..e9990945483f1fae08f0dfc5f3b6c82a73e76344 100644 (file)
@@ -304,9 +304,8 @@ struct rcu_state {
 
        /* The following fields are guarded by the root rcu_node's lock. */
 
-       u8      boost ____cacheline_internodealigned_in_smp;
-                                               /* Subject to priority boost. */
-       unsigned long gp_seq;                   /* Grace-period sequence #. */
+       unsigned long gp_seq ____cacheline_internodealigned_in_smp;
+                                               /* Grace-period sequence #. */
        unsigned long gp_max;                   /* Maximum GP duration in */
                                                /*  jiffies. */
        struct task_struct *gp_kthread;         /* Task for grace periods. */
index c5b45c2f68a159574b63479ffd5adb8b936e9298..109429e70a6424217273effde7b89fe4dc0657ea 100644 (file)
@@ -1175,8 +1175,6 @@ static void rcu_spawn_one_boost_kthread(struct rcu_node *rnp)
        if (rnp->boost_kthread_task || !rcu_scheduler_fully_active)
                return;
 
-       rcu_state.boost = 1;
-
        t = kthread_create(rcu_boost_kthread, (void *)rnp,
                           "rcub/%d", rnp_index);
        if (WARN_ON_ONCE(IS_ERR(t)))