rcu: Improve SRCU's wait_idx() comments
authorLai Jiangshan <laijs@cn.fujitsu.com>
Mon, 27 Feb 2012 17:28:10 +0000 (09:28 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 30 Apr 2012 17:48:22 +0000 (10:48 -0700)
The safety of SRCU is provided byy wait_idx() rather than flipping.
The flipping actually prevents starvation.

This commit therefore updates the comments to more accurately and
precisely describe what is going on.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

No differences found