Re: [PATCH v2 2/2] mm: vmscan: fix node reclaim ignoring swappiness parameter

From: Ridong Chen

Date: Thu Jul 16 2026 - 04:24:48 EST




On 7/16/2026 2:06 PM, Tao Cui wrote:
Hi Ridong,

Reproduced the bug and verified the fix in a QEMU x86_64 guest with
CONFIG_MEMCG disabled. Global vm.swappiness pinned to 1, then:

echo "64M swappiness=<x>" > /sys/devices/system/node/node0/reclaim

swappiness= | buggy (anon/file) | patched (anon/file)
----------- | -------------------- | --------------------
max | 0 / 16385 | 16292 / 0
200 | 2 / 16384 | 16837 / 0
1 | 0 / 16386 | 0 / 16467

Unpatched ignores the swappiness arg (always file); patched honors it.
Matches the commit message.

Tested-by: Song Hu <husong@xxxxxxxxxx>
Reviewed-by: Song Hu <husong@xxxxxxxxxx>

Thanks.

--
Best regards
Ridong