Skip to content
Commit 7576958a authored by Tejun Heo's avatar Tejun Heo
Browse files

workqueue: wake up a worker when a rescuer is leaving a gcwq



After executing the matching works, a rescuer leaves the gcwq whether
there are more pending works or not.  This may decrease the
concurrency level to zero and stall execution until a new work item is
queued on the gcwq.

Make rescuer wake up a regular worker when it leaves a gcwq if there
are more works to execute, so that execution isn't stalled.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarRay Jui <rjui@broadcom.com>
Cc: stable@kernel.org
parent 795abaf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment