Re: [PATCH 0/3] mm/vmscan: fix swappiness=max and clean up per-node proactive reclaim

From: Andrew Morton

Date: Fri Jul 17 2026 - 15:57:38 EST


On Fri, 17 Jul 2026 19:32:57 +0800 Ridong <ridong.chen@xxxxxxxxx> wrote:

> From: Ridong Chen <chenridong@xxxxxxxxxx>
>
> Two fixes and one cleanup.
>
> Patch 1 fixes "swappiness=max": the anon-only test in get_scan_count()
> sat after the "cannot reclaim anon" check, so when no anon was
> reclaimable the request fell back to SCAN_FILE and evicted page cache
> instead.
>
> Patch 2 fixes reclaim_store() collapsing every error into -EAGAIN, so
> callers can no longer tell an invalid argument from a busy interface;
> propagate the real error code, matching the memcg path.
>
> Patch 3 drops the now-unused gfp_mask parameter from __node_reclaim().

Thanks. Sashiko want to know whether MGLRU should also be fixed:
https://sashiko.dev/#/patchset/20260717113300.214717-1-ridong.chen@xxxxxxxxx