Skip to content

Commit

Permalink
rcu: Remove unused rcu_state.boost
Browse files Browse the repository at this point in the history
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
  • Loading branch information
Neeraj Upadhyay authored and Paul E. McKenney committed Feb 2, 2022
1 parent 02e3024 commit eae9f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions kernel/rcu/tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
2 changes: 0 additions & 2 deletions kernel/rcu/tree_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit eae9f14

Please sign in to comment.