Re: [Regression] util-linux-2.27: zramctl lists same info for all devices (DATA COMPR TOTAL)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 07, 2015 at 08:29:37PM +0200, Oliver Freyermuth wrote:
> I guess it is related to commit
> 5388c862607ec4f25f3e7ad23ab858b696bde1a1 .  It parses mmstat and
> fills in z->mm_stat and z->mm_stat_probed only the first time
> get_mm_stat is called. Since the codes reuses the very same
> zram-struct "z" afterwards and z->mm_stat is never freed (and
> z->mm_stat_probed is never reset), only the first device is every
> queried. 

Yes, fixed (will be in v2.27.1). Thanks for your report!

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux