diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2009-11-10 16:37:21 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-10 16:48:50 -0500 |
commit | 4bcfe055030d9e953945def3864f7e6997b27782 (patch) | |
tree | 5021112c826572bd0b356f193c2be742e54deb4f /kernel/rcutree.h | |
parent | 956539b75921f561c0956c22d37320780e8b4ba1 (diff) |
rcu: Rename dynticks_completed to completed_fqs
This field is used whether or not CONFIG_NO_HZ is set, so the
old name of ->dynticks_completed is quite misleading.
Change to ->completed_fqs, given that it the value that
force_quiescent_state() is trying to drive the ->completed field
away from.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: mathieu.desnoyers@polymtl.ca
Cc: josh@joshtriplett.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: Valdis.Kletnieks@vt.edu
Cc: dhowells@redhat.com
LKML-Reference: <12578890423298-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 ddb79ece05eb..17a28a08b559 100644 --- a/kernel/rcutree.h +++ b/kernel/rcutree.h | |||
@@ -264,6 +264,8 @@ struct rcu_state { | |||
264 | long orphan_qlen; /* Number of orphaned cbs. */ | 264 | long orphan_qlen; /* Number of orphaned cbs. */ |
265 | spinlock_t fqslock; /* Only one task forcing */ | 265 | spinlock_t fqslock; /* Only one task forcing */ |
266 | /* quiescent states. */ | 266 | /* quiescent states. */ |
267 | long completed_fqs; /* Value of completed @ snap. */ | ||
268 | /* Protected by fqslock. */ | ||
267 | unsigned long jiffies_force_qs; /* Time at which to invoke */ | 269 | unsigned long jiffies_force_qs; /* Time at which to invoke */ |
268 | /* force_quiescent_state(). */ | 270 | /* force_quiescent_state(). */ |
269 | unsigned long n_force_qs; /* Number of calls to */ | 271 | unsigned long n_force_qs; /* Number of calls to */ |
@@ -278,8 +280,6 @@ struct rcu_state { | |||
278 | unsigned long jiffies_stall; /* Time at which to check */ | 280 | unsigned long jiffies_stall; /* Time at which to check */ |
279 | /* for CPU stalls. */ | 281 | /* for CPU stalls. */ |
280 | #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ | 282 | #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ |
281 | long dynticks_completed; /* Value of completed @ snap. */ | ||
282 | /* Protected by fqslock. */ | ||
283 | }; | 283 | }; |
284 | 284 | ||
285 | #ifdef RCU_TREE_NONCORE | 285 | #ifdef RCU_TREE_NONCORE |