Re: [PATCH 5/5] mm/mglru: reschedule between memcg reclaim attempts

From: Max Kellermann

Date: Mon Nov 02 2026 - 03:38:27 EST


On Mon, Nov 2, 2026 at 2:15 AM Barry Song <baohua@xxxxxxxxxx> wrote:
> I'd appreciate it if you could provide more details in the
> changelog. Without this patch, are we seeing an RCU stall,
> a soft lockup, or something else, right?

As I said in reply to Andrew already, I havn't proved that [5/5] alone
reliably makes the stalls/lockups go away. I guess they are gone
already by fixing the underlying linked-list performance problem. I
thought [5/5] was useful as an additional scheduling point (similar
calls exist already in mm/), but I'm no MM expert, so view this last
patch as a rather uneducated suggestion by a MM newbie.

--
Max Kellermann
Principal Architect
Hosting Technology

cm4all | Im Mediapark 6a | 50670 Köln | Germany
General information about the company can be found here:
https://www.cm4all.com/impressum
A member of the IONOS Group