Skip to content

Commit eae9f14

Browse files
Neeraj Upadhyaypaulmckrcu
authored andcommitted
rcu: Remove unused rcu_state.boost
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent 02e3024 commit eae9f14

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

kernel/rcu/tree.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,8 @@ struct rcu_state {
304304

305305
/* The following fields are guarded by the root rcu_node's lock. */
306306

307-
u8 boost ____cacheline_internodealigned_in_smp;
308-
/* Subject to priority boost. */
309-
unsigned long gp_seq; /* Grace-period sequence #. */
307+
unsigned long gp_seq ____cacheline_internodealigned_in_smp;
308+
/* Grace-period sequence #. */
310309
unsigned long gp_max; /* Maximum GP duration in */
311310
/* jiffies. */
312311
struct task_struct *gp_kthread; /* Task for grace periods. */

kernel/rcu/tree_plugin.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,8 +1175,6 @@ static void rcu_spawn_one_boost_kthread(struct rcu_node *rnp)
11751175
if (rnp->boost_kthread_task || !rcu_scheduler_fully_active)
11761176
return;
11771177

1178-
rcu_state.boost = 1;
1179-
11801178
t = kthread_create(rcu_boost_kthread, (void *)rnp,
11811179
"rcub/%d", rnp_index);
11821180
if (WARN_ON_ONCE(IS_ERR(t)))

0 commit comments

Comments
 (0)