commit | 6a092dfd51e5af9b321d683d4b4eddc79e2606ed | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@cn.fujitsu.com> | Wed Mar 20 03:28:03 2013 +0800 |
committer | Tejun Heo <tj@kernel.org> | Wed Mar 20 10:40:25 2013 -0700 |
tree | 1881329dcaa0a35bd2fa6906824d55ebb57f4c74 | |
parent | 12ee4fc67c00895b3d740297f7ca447239c1983b [diff] |
workqueue: simplify current_is_workqueue_rescuer() We can test worker->recue_wq instead of reaching into current_pwq->wq->rescuer and then comparing it to self. tj: Commit message. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Tejun Heo <tj@kernel.org>