diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2013-03-20 03:28:10 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-03-20 11:00:57 -0700 |
commit | 881094532e2a27406a5f06f839087bd152a8a494 (patch) | |
tree | 993b36c51374695056781f6bb01f258aea3e71cc /virt | |
parent | 951a078a5285ad31bc22e190616ad54b78fac992 (diff) | |
download | op-kernel-dev-881094532e2a27406a5f06f839087bd152a8a494.zip op-kernel-dev-881094532e2a27406a5f06f839087bd152a8a494.tar.gz |
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 'virt')
0 files changed, 0 insertions, 0 deletions