diff options
author | 2012-11-29 16:46:02 +0800 | |
---|---|---|
committer | 2013-02-07 15:06:25 -0800 | |
commit | 5a41344a3d83ef2c08e40bfce1efa5795def9b82 (patch) | |
tree | 123d0fa065a35bb7de384edb5e753ec28beee7b0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'rcu/next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu (diff) | |
download | linux-dev-5a41344a3d83ef2c08e40bfce1efa5795def9b82.tar.xz linux-dev-5a41344a3d83ef2c08e40bfce1efa5795def9b82.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions