lkml.org 
[lkml]   [2014]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch: zram add compressionratio in sysfs interface
Hello,

On Wed, Jul 23, 2014 at 02:58:00PM +0530, Yogesh Gaur wrote:
> Hello All,
>
> Please find attached patch which adds new entry in existing zram device
> sysfs interface, this interface shows compression ratio for asked zram
> device.
> Sysfs interface for 'orig_data_size' and 'mem_used_total' already present,
> 'compression_ratio' would be orig_data_size divided by mem_used_total.
>
> Please check patch.

Pz, do it in userspace.

>
> --
> Regards,
> Yogesh Gaur.



--
Kind regards,
Minchan Kim


\
 
 \ /
  Last update: 2014-07-29 05:41    [W:0.137 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site