Re: [PATCH] selftests/cgroup: test_zswap: use the total RAM in bytes

From: Sasha Levin

Date: Wed Nov 04 2026 - 09:55:58 EST


On Wed, Nov 04, 2026 at 09:22:31PM +0800, Tao Cui wrote:
> One small thing: could you add a Fixes tag? The issue seems to date
> back to a549f9f31561a ("selftests: cgroup: add test_zswap with no kmem
> bypass test"), which introduced the sysinfo block, and 6f615890b848
> later reshaped it into the current GB(4) comparison with the warning.

Yes, the original check against 5000000000 could never be true on
32-bit either, and it already used totalram as bytes:

Fixes: a549f9f31561 ("selftests: cgroup: add test_zswap with no kmem bypass test")

--
Thanks,
Sasha