diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-09-11 00:54:08 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-12-11 13:31:20 -0500 |
commit | af446b702c58b700cc5fa99f6edc78b99e55b995 (patch) | |
tree | 0eacf146b7f1b221e844c52db6061e31928ff99e /kernel/rcutree.h | |
parent | dc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50 (diff) |
rcu: ->signaled better named ->fqs_state
The ->signaled field was named before complications in the form of
dyntick-idle mode and offlined CPUs. These complications have required
that force_quiescent_state() be implemented as a state machine, instead
of simply unconditionally sending reschedule IPIs. Therefore, this
commit renames ->signaled to ->fqs_state to catch up with the new
force_quiescent_state() reality.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcutree.h')
-rw-r--r-- | kernel/rcutree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcutree.h b/kernel/rcutree.h index 849ce9ec51fe..517f2f89a293 100644 --- a/kernel/rcutree.h +++ b/kernel/rcutree.h | |||
@@ -302,7 +302,7 @@ struct rcu_data { | |||
302 | struct rcu_state *rsp; | 302 | struct rcu_state *rsp; |
303 | }; | 303 | }; |
304 | 304 | ||
305 | /* Values for signaled field in struct rcu_state. */ | 305 | /* Values for fqs_state field in struct rcu_state. */ |
306 | #define RCU_GP_IDLE 0 /* No grace period in progress. */ | 306 | #define RCU_GP_IDLE 0 /* No grace period in progress. */ |
307 | #define RCU_GP_INIT 1 /* Grace period being initialized. */ | 307 | #define RCU_GP_INIT 1 /* Grace period being initialized. */ |
308 | #define RCU_SAVE_DYNTICK 2 /* Need to scan dyntick state. */ | 308 | #define RCU_SAVE_DYNTICK 2 /* Need to scan dyntick state. */ |
@@ -361,7 +361,7 @@ struct rcu_state { | |||
361 | 361 | ||
362 | /* The following fields are guarded by the root rcu_node's lock. */ | 362 | /* The following fields are guarded by the root rcu_node's lock. */ |
363 | 363 | ||
364 | u8 signaled ____cacheline_internodealigned_in_smp; | 364 | u8 fqs_state ____cacheline_internodealigned_in_smp; |
365 | /* Force QS state. */ | 365 | /* Force QS state. */ |
366 | u8 fqs_active; /* force_quiescent_state() */ | 366 | u8 fqs_active; /* force_quiescent_state() */ |
367 | /* is running. */ | 367 | /* is running. */ |