Re: [PATCH V3 6/7] workqueue: Limit number of processed works in rescuer per turn

From: Tejun Heo

Date: Sat Nov 22 2025 - 09:26:57 EST


Hello,

On Sat, Nov 22, 2025 at 02:22:12PM +0800, Lai Jiangshan wrote:
> The cursor is per PWQ. When the rescuer come back to this pool next time,
> it can only handle the PWQ belonging to its wq, which is A, and it will search
> from A3 and process A3 instead of searching from B1 if the cursor is reset.

Oh yeah, you're right. I was thinking that the cursor was shared across pwqs
for some reason.

Thanks.

--
tejun