Commit b44f6656 authored by Cody P Schafer's avatar Cody P Schafer Committed by Paul E. McKenney

rcu: Correct 'optimized' to 'optimize' in header comment

Small grammar fix in rcutree comment regarding 'rcu_scheduler_active'
var.
Signed-off-by: default avatarCody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent de5e6437
...@@ -105,7 +105,7 @@ int rcu_num_nodes __read_mostly = NUM_RCU_NODES; /* Total # rcu_nodes in use. */ ...@@ -105,7 +105,7 @@ int rcu_num_nodes __read_mostly = NUM_RCU_NODES; /* Total # rcu_nodes in use. */
* The rcu_scheduler_active variable transitions from zero to one just * The rcu_scheduler_active variable transitions from zero to one just
* before the first task is spawned. So when this variable is zero, RCU * before the first task is spawned. So when this variable is zero, RCU
* can assume that there is but one task, allowing RCU to (for example) * can assume that there is but one task, allowing RCU to (for example)
* optimized synchronize_sched() to a simple barrier(). When this variable * optimize synchronize_sched() to a simple barrier(). When this variable
* is one, RCU must actually do all the hard work required to detect real * is one, RCU must actually do all the hard work required to detect real
* grace periods. This variable is also used to suppress boot-time false * grace periods. This variable is also used to suppress boot-time false
* positives from lockdep-RCU error checking. * positives from lockdep-RCU error checking.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment