aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2020-05-29 06:58:59 +0000
committerTejun Heo <[email protected]>2020-05-29 10:22:10 -0400
commit4f3f4cf388f8fda7ee8ea7c6af0ff0ebb2d05fe4 (patch)
tree5fc7fd3791176131cb4c8a6b01b47188cc723bd2 /drivers/fpga/fpga-bridge.c
parenta9b8a985294debae00f6c087dfec8c384d30a3b9 (diff)
workqueue: void unneeded requeuing the pwq in rescuer thread
008847f66c3 ("workqueue: allow rescuer thread to do more work.") made the rescuer worker requeue the pwq immediately if there may be more work items which need rescuing instead of waiting for the next mayday timer expiration. Unfortunately, it checks only whether the pool needs help from rescuers, but it doesn't check whether the pwq has work items in the pool (the real reason that this rescuer can help for the pool). The patch adds the check and void unneeded requeuing. Signed-off-by: Lai Jiangshan <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions