diff options
author | 2014-07-11 00:11:13 +0800 | |
---|---|---|
committer | 2014-07-11 11:14:50 -0400 | |
commit | 9c34a7042e6fe79b900bd44db03dde8a4ecdf6f6 (patch) | |
tree | 1ff3a9f8b3fdea4fd8e7a2e2bbcb43b91e0aa96b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | workqueue: stronger test in process_one_work() (diff) | |
download | linux-dev-9c34a7042e6fe79b900bd44db03dde8a4ecdf6f6.tar.xz linux-dev-9c34a7042e6fe79b900bd44db03dde8a4ecdf6f6.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions