diff options
| author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-01-25 15:32:01 -0800 | 
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-01-25 15:32:01 -0800 | 
| commit | 7a968bb26a9b09b6e44c48a8036a73e0bc497dbc (patch) | |
| tree | 39a347637e7b8b53355670b9919bd0e6955ecb3f /kernel/rcu/tree.h | |
| parent | 6ba7d681aca22e53385bdb35b1d7662e61905760 (diff) | |
| parent | 13dc7d0c7a2ed438f0ec8e9fb365a1256d87cf87 (diff) | |
Merge branches 'consolidate.2019.01.26a' and 'fwd.2019.01.26a' into HEAD
consolidate.2019.01.26a: RCU flavor consolidation cleanups.
fwd.2019.01.26a: RCU grace-period forward-progress fixes.
Diffstat (limited to 'kernel/rcu/tree.h')
| -rw-r--r-- | kernel/rcu/tree.h | 17 | 
1 files changed, 9 insertions, 8 deletions
| diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 20feecbb0ab6..149557b7c39c 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -230,7 +230,13 @@ struct rcu_data {  					/* Leader CPU takes GP-end wakeups. */  #endif /* #ifdef CONFIG_RCU_NOCB_CPU */ -	/* 6) Diagnostic data, including RCU CPU stall warnings. */ +	/* 6) RCU priority boosting. */ +	struct task_struct *rcu_cpu_kthread_task; +					/* rcuc per-CPU kthread or NULL. */ +	unsigned int rcu_cpu_kthread_status; +	char rcu_cpu_has_work; + +	/* 7) Diagnostic data, including RCU CPU stall warnings. */  	unsigned int softirq_snap;	/* Snapshot of softirq activity. */  	/* ->rcu_iw* fields protected by leaf rcu_node ->lock. */  	struct irq_work rcu_iw;		/* Check for non-irq activity. */ @@ -299,6 +305,8 @@ struct rcu_state {  	struct swait_queue_head gp_wq;		/* Where GP task waits. */  	short gp_flags;				/* Commands for GP task. */  	short gp_state;				/* GP kthread sleep state. */ +	unsigned long gp_wake_time;		/* Last GP kthread wake. */ +	unsigned long gp_wake_seq;		/* ->gp_seq at ^^^. */  	/* End of fields guarded by root rcu_node's lock. */ @@ -398,13 +406,6 @@ static const char *tp_rcu_varname __used __tracepoint_string = rcu_name;  int rcu_dynticks_snap(struct rcu_data *rdp); -#ifdef CONFIG_RCU_BOOST -DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_status); -DECLARE_PER_CPU(int, rcu_cpu_kthread_cpu); -DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_loops); -DECLARE_PER_CPU(char, rcu_cpu_has_work); -#endif /* #ifdef CONFIG_RCU_BOOST */ -  /* Forward declarations for rcutree_plugin.h */  static void rcu_bootup_announce(void);  static void rcu_qs(void); | 
