Re: [PATCH v6 00/18] mm/mglru: frequency guided promotion (MGLRU-FG) and flag cleanup

From: Andrew Morton

Date: Mon Nov 23 2026 - 15:22:34 EST


On Tue, 24 Nov 2026 02:52:52 +0800 Kairui Song via B4 Relay <devnull+kasong.tencent.com@xxxxxxxxxx> wrote:

> This series implements MGLRU-FG following the idea proposed at LSF/MM/BPF
> this year [1], based on current mm-new. Depending on the workload, it
> improves the performance or reduces IO by roughly 10% to over 50%,
> fixes multiple long-standing issues with MGLRU metrics, and drops one
> page flag.

Great, I'll add this to mm-new and shall move it into mm-unstable
(hence linux-next) promptly.

I tested v4 quite hard last week and I view the risk of breaking
linux-next to be low.

> The series has been tested on multiple platforms (desktop, large server,
> Android phone, x86_64 and arm64 VM boxes) covering many typical benchmarks,
> databases and real applications, so far everything looks nice, with good
> test reports from other individual testers too.
>
> Different workloads may get a flat, minor or dramatic improvement, the
> gain here is mostly from real improvement of LRU's ability to distinguish
> the hotter workingset.

Well, the hunt is on to find something which got slower. No luck so far!

> - Minor optimization for clearing refs:
> https://lore.kernel.org/all/CAMgjq7Dd=Y+GekSD9WO5oGdoa+S1eG3T-U=VsCexopvb723zFA@xxxxxxxxxxxxxx/

Right. That was the only question mark I could find and it sounds like
you erased that one.