doc: rcu: Update description of gp_seq fields in rcu_data

The rcu_state structure doesn't have a gp_seq_needed field. Update the
description under rcu_data accordingly, to reflect this.

Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: <kernel-team@android.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
This commit is contained in:
Joel Fernandes (Google) 2018-09-25 11:26:01 -07:00 committed by Paul E. McKenney
parent 82eccec851
commit 70f0508cab
1 changed files with 4 additions and 3 deletions

View File

@ -1011,9 +1011,10 @@ as follows:
5 bool gpwrap; 5 bool gpwrap;
</pre> </pre>
<p>The <tt>-&gt;gp_seq</tt> and <tt>-&gt;gp_seq_needed</tt> <p>The <tt>-&gt;gp_seq</tt> field is the counterpart of the field of the same
fields are the counterparts of the fields of the same name name in the <tt>rcu_state</tt> and <tt>rcu_node</tt> structures. The
in the <tt>rcu_state</tt> and <tt>rcu_node</tt> structures. <tt>-&gt;gp_seq_needed</tt> field is the counterpart of the field of the same
name in the rcu_node</tt> structure.
They may each lag up to one behind their <tt>rcu_node</tt> They may each lag up to one behind their <tt>rcu_node</tt>
counterparts, but in <tt>CONFIG_NO_HZ_IDLE</tt> and counterparts, but in <tt>CONFIG_NO_HZ_IDLE</tt> and
<tt>CONFIG_NO_HZ_FULL</tt> kernels can lag <tt>CONFIG_NO_HZ_FULL</tt> kernels can lag