Re: [PATCH V3 7/7] workqueue: Process extra works in rescuer when there are no more to rescue
From: Tejun Heo
Date: Fri Nov 21 2025 - 14:29:42 EST
On Fri, Nov 21, 2025 at 10:57:20PM +0800, Lai Jiangshan wrote:
> From: Lai Jiangshan <jiangshan.ljs@xxxxxxxxxxxx>
>
> Make the rescuer process more work on the last pwq when there are no
> more to rescue for the whole workqueue to help the regular workers in
> case it is a temporary relief and to reduce relapse.
>
> Also limit the number of extra works.
>
> Signed-off-by: Lai Jiangshan <jiangshan.ljs@xxxxxxxxxxxx>
Is this based on some empirical case? Can you give a concrete example?
Thanks.
--
tejun