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> |
||
---|---|---|
.. | ||
00-INDEX | ||
NMI-RCU.txt | ||
RTFP.txt | ||
UP.txt | ||
arrayRCU.txt | ||
checklist.txt | ||
listRCU.txt | ||
rcu.txt | ||
rcuref.txt | ||
torture.txt | ||
whatisRCU.txt |