]> git.baikalelectronics.ru Git - kernel.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>
Mon, 30 Apr 2012 17:48:22 +0000 (10:48 -0700)
commitbcc0b328cd17d5c45b355d5ac25f4c5b6d00027d
tree363127aced66530e6c6808a55462e10c3e8fedb8
parent13ffc6cde90ac0a36a35465b2b2e2416fefa97f5
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