Re: [PATCH v6 0/6] KSM: performance optimizations for rmap_walk_ksm
From: Lorenzo Stoakes
Date: Fri May 29 2026 - 04:01:20 EST
On Fri, May 22, 2026 at 08:28:24PM -0700, Andrew Morton wrote:
> On Fri, 22 May 2026 10:52:34 +0800 (CST) <xu.xin16@xxxxxxxxxx> wrote:
>
> > This series fixes a severe KSM reverse-mapping performance problem
> > that can freeze applications for hundreds of milliseconds under
> > memory pressure especially when a lot of unrelated VMAs sharing a
> > single anon_vma.
>
> Thanks. I agree that this behaviour is quite obnoxious and getting it
> addressed is quite desirable.
>
> So I'd normally merge this in its present unreviewed state in order to
> push things along a bit, but the AI review gives me pause:
>
> https://sashiko.dev/#/patchset/20260522105234715fKI7KSsjC5XpEVMwoV6rI@xxxxxxxxxx
>
> Can you please take a look, decide what (if any) changes are needed?
I also plan to look through this!
Cheers, Lorenzo