aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/rcu/tree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-01-06 22:04:22 -0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-01-23 11:37:14 -0800
commitbb4e2c08bbfa8eb032db7814f6100086aac102d3 (patch)
tree9f5f9cf8d14f4fb6e70dc72061d6c793032b3625 /kernel/rcu/tree.h
parentllist: Clarify comments about when locking is needed (diff)
downloadwireguard-linux-bb4e2c08bbfa8eb032db7814f6100086aac102d3.tar.xz
wireguard-linux-bb4e2c08bbfa8eb032db7814f6100086aac102d3.zip
rcu: Eliminate unused expedited_normal counter
Expedited grace periods no longer fall back to normal grace periods in response to lock contention, given that expedited grace periods now use the rcu_node tree so as to avoid contention. This commit therfore removes the expedited_normal counter. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r--kernel/rcu/tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
index fe98dd24adf8..8f750dffb0dd 100644
--- a/kernel/rcu/tree.h
+++ b/kernel/rcu/tree.h
@@ -521,7 +521,6 @@ struct rcu_state {
struct mutex exp_mutex; /* Serialize expedited GP. */
struct mutex exp_wake_mutex; /* Serialize wakeup. */
unsigned long expedited_sequence; /* Take a ticket. */
- atomic_long_t expedited_normal; /* # fallbacks to normal. */
atomic_t expedited_need_qs; /* # CPUs left to check in. */
struct swait_queue_head expedited_wq; /* Wait for check-ins. */
int ncpus_snap; /* # CPUs seen last time. */