diff options
| author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2014-07-11 00:11:13 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-12-05 18:05:44 +0100 |
| commit | 8aba9fb1a6ec968ac88a984a1fd0b373369ed54d (patch) | |
| tree | 7075074d117f649d53a33eb93b7826b4c9ec3fec /kernel/workqueue_internal.h | |
| parent | cc6552917729a821221fd3a259020e496b6b4189 (diff) | |
workqueue: reuse the already calculated pwq in try_to_grab_pending()
try_to_grab_pending() was re-calculating the associated pwq using
get_work_pwq() when it already has it cached in a local varible and
the association can't change. Reuse the local variable instead.
This doesn't introduce any functional changes.
tj: Updated description.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions
