commit | 881094532e2a27406a5f06f839087bd152a8a494 | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@cn.fujitsu.com> | Wed Mar 20 03:28:10 2013 +0800 |
committer | Tejun Heo <tj@kernel.org> | Wed Mar 20 11:00:57 2013 -0700 |
tree | 993b36c51374695056781f6bb01f258aea3e71cc | |
parent | 951a078a5285ad31bc22e190616ad54b78fac992 [diff] |
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>