lkml.org 
[lkml]   [2022]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 2/3] selftests/zram01.sh: Fix compression ratio calculation
    From
    Date
    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

    \
     
     \ /
      Last update: 2022-01-25 21:38    [W:4.192 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site