diff options
author | 2013-03-20 03:28:10 +0800 | |
---|---|---|
committer | 2013-03-20 11:00:57 -0700 | |
commit | 881094532e2a27406a5f06f839087bd152a8a494 (patch) | |
tree | 993b36c51374695056781f6bb01f258aea3e71cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | workqueue: kick a worker in pwq_adjust_max_active() (diff) | |
download | linux-dev-881094532e2a27406a5f06f839087bd152a8a494.tar.xz linux-dev-881094532e2a27406a5f06f839087bd152a8a494.zip |
workqueue: use rcu_read_lock_sched() instead for accessing pwq in RCU
rcu_read_lock_sched() is better than preempt_disable() if the code is
protected by RCU_SCHED.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions