]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 25 Apr 2012 03:55:41 +0000 (20:55 -0700)
commit64196cd7550ffc8a8c7e427ca3bce336a5425be8
tree53c0a7f5a94f5842a59f86d0fe2284d76f662a96
parentea04303cc877ee58c7fd4df1946a547db80e5d90
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