Re: [PATCH 0/3] mm/vmscan: fix swappiness=max and clean up per-node proactive reclaim
From: Ridong Chen
Date: Sat Jul 18 2026 - 05:35:29 EST
On 7/18/2026 3:53 AM, Andrew Morton wrote:
> 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
>
Yes, it should be fixed. I will add a patch to fix it.
--
Best regards,
Ridong