commit | 5a41344a3d83ef2c08e40bfce1efa5795def9b82 | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@cn.fujitsu.com> | Thu Nov 29 16:46:02 2012 +0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Feb 07 15:06:25 2013 -0800 |
tree | 123d0fa065a35bb7de384edb5e753ec28beee7b0 | |
parent | 0351096eb0584ba927a00a37e18be7af135250c3 [diff] |
srcu: Simplify __srcu_read_unlock() via this_cpu_dec() This commit replaces disabling of preemption and decrement of a per-CPU variable with this_cpu_dec(), which avoids preemption disabling on x86 and shortens the code on all platforms. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>