Re: [PATCH 2/3] selftests/zram01.sh: Fix compression ratio calculation
From: Shuah Khan
Date: Tue Jan 25 2022 - 15:37:23 EST
On 12/15/21 2:56 AM, Yang Xu wrote:
zram01 uses `free -m` to measure zram memory usage. The results are nonsense
because they are polluted by all running processes on the system.
Are the results inaccurate or does /sys/block/zram<id>/mm_stat is a quick
way to get the information?
In any case, this patch and all 3 patches in this series have:
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
Please run checkpatch.pl and clean these up.
thanks,
-- Shuah