diff options
author | 2023-08-07 15:57:22 -1000 | |
---|---|---|
committer | 2023-08-07 15:57:22 -1000 | |
commit | c0ab017d43f4c4147f7ecf3ca3cb872a416e17c7 (patch) | |
tree | 09bb413ada6b38a4592366325b12acae55a27ab6 /tools/perf/scripts/python | |
parent | workqueue: Drop the special locking rule for worker->flags and worker_pool->flags (diff) | |
download | wireguard-linux-c0ab017d43f4c4147f7ecf3ca3cb872a416e17c7.tar.xz wireguard-linux-c0ab017d43f4c4147f7ecf3ca3cb872a416e17c7.zip |
workqueue: Cleanups around process_scheduled_works()
* Drop the trivial optimization in worker_thread() where it bypasses calling
process_scheduled_works() if the first work item isn't linked. This is a
mostly pointless micro optimization and gets in the way of improving the
work processing path.
* Consolidate pool->watchdog_ts updates in the two callers into
process_scheduled_works().
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions