Re: [PATCH 1/4] workqueue: void unneeded requeuing the pwq in rescuer thread

2020-05-29 Thread Tejun Heo
On Fri, May 29, 2020 at 06:58:59AM +, Lai Jiangshan wrote: > 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. U

[PATCH 1/4] workqueue: void unneeded requeuing the pwq in rescuer thread

2020-05-28 Thread Lai Jiangshan
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,