Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit c0ab017d authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
parent bc8b50c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment