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)
commit18108ebfebe9e871d0a9af830baf8f5df69eb5fc
tree363127aced66530e6c6808a55462e10c3e8fedb8
parent944ce9af4767ca085d465e4add69df11a8faa9ef
rcu: Improve SRCU's wait_idx() comments

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>
kernel/srcu.c