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

Ridong Chen <[email protected]>
Newsgroups org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>

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 <[email protected]>
> Reviewed-by: Song Hu <[email protected]>
> 
Thanks.

-- 
Best regards
Ridong
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.