public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Patch: zram add compressionratio in sysfs interface
       [not found] <CAG6enPwuD2_6U=iELn9C7gMzxre0V-VYmxP14R-qW3sMNddvCg@mail.gmail.com>
@ 2014-07-29  3:01 ` Minchan Kim
  0 siblings, 0 replies; only message in thread
From: Minchan Kim @ 2014-07-29  3:01 UTC (permalink / raw)
  To: Yogesh Gaur; +Cc: linux-kernel, linux-mm, ngupta

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-29  3:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAG6enPwuD2_6U=iELn9C7gMzxre0V-VYmxP14R-qW3sMNddvCg@mail.gmail.com>
2014-07-29  3:01 ` Patch: zram add compressionratio in sysfs interface Minchan Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox