diff options
author | Tejun Heo <tj@kernel.org> | 2011-02-14 14:04:46 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-02-14 14:04:46 +0100 |
commit | 7576958a9d5a4a677ad7dd40901cdbb6c1110c98 (patch) | |
tree | db0b180feebf3a4ca6cd3155764cfc61a6d7f3cf /Documentation/workqueue.txt | |
parent | 795abaf1e4e188c4171e3cd3dbb11a9fcacaf505 (diff) | |
download | lwn-7576958a9d5a4a677ad7dd40901cdbb6c1110c98.tar.gz lwn-7576958a9d5a4a677ad7dd40901cdbb6c1110c98.zip |
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: Tejun Heo <tj@kernel.org>
Reported-by: Ray Jui <rjui@broadcom.com>
Cc: stable@kernel.org
Diffstat (limited to 'Documentation/workqueue.txt')
0 files changed, 0 insertions, 0 deletions