Skip to content

Commit 4f9c1bc

Browse files
author
Paul E. McKenney
committed
rcu/nocb: Remove obsolete nocb_gp_head and nocb_gp_tail fields
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
1 parent 2a777de commit 4f9c1bc

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎kernel/rcu/tree.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,8 @@ struct rcu_data {
201201
struct timer_list nocb_timer; /* Enforce finite deferral. */
202202

203203
/* The following fields are used by GP kthread, hence own cacheline. */
204-
struct rcu_head *nocb_gp_head ____cacheline_internodealigned_in_smp;
205-
/* CBs waiting for GP. */
206-
struct rcu_head **nocb_gp_tail;
207-
bool nocb_gp_sleep; /* Is the nocb GP thread asleep? */
204+
bool nocb_gp_sleep ____cacheline_internodealigned_in_smp;
205+
/* Is the nocb GP thread asleep? */
208206
struct swait_queue_head nocb_gp_wq; /* For nocb kthreads to sleep on. */
209207
bool nocb_cb_sleep; /* Is the nocb CB thread asleep? */
210208
struct task_struct *nocb_cb_kthread;

0 commit comments

Comments
 (0)