commit | e8aed68614c81f24d8c4cbcb4923f848ece846e1 | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@cn.fujitsu.com> | Wed Sep 10 11:01:07 2008 +0800 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Sep 10 08:36:07 2008 +0200 |
tree | 0fc0af1ec0e5604011e148f64d77fce273aca2df | |
parent | 429b022af41108f6942d72547592b1d30e9a51f0 [diff] |
doc/RCU: fix pseudocode in rcuref.txt atomic_inc_not_zero(v) return 0 if *v = 0. use spin_lock instead of write_lock for update lock. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>