Messages in this thread | | | Subject | Re: [PATCH 2/3] selftests/zram01.sh: Fix compression ratio calculation | From | Shuah Khan <> | Date | Tue, 25 Jan 2022 13:37:17 -0700 |
| |
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
| |