* Patch: zram add compressionratio in sysfs interface
@ 2014-07-23 9:28 Yogesh Gaur
2014-07-29 3:01 ` Minchan Kim
0 siblings, 1 reply; 3+ messages in thread
From: Yogesh Gaur @ 2014-07-23 9:28 UTC (permalink / raw)
To: linux-kernel, linux-mm, minchan, ngupta
[-- Attachment #1.1: Type: text/plain, Size: 356 bytes --]
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.
--
Regards,
Yogesh Gaur.
[-- Attachment #1.2: Type: text/html, Size: 457 bytes --]
[-- Attachment #2: 0001-zram-add-compressionratio-sysfs-interface.patch --]
[-- Type: */*, Size: 2588 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch: zram add compressionratio in sysfs interface
2014-07-23 9:28 Patch: zram add compressionratio in sysfs interface Yogesh Gaur
@ 2014-07-29 3:01 ` Minchan Kim
0 siblings, 0 replies; 3+ messages 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] 3+ messages in thread
* Re: Patch: zram add compressionratio in sysfs interface
@ 2014-07-29 3:01 ` Minchan Kim
0 siblings, 0 replies; 3+ messages 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
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-29 3:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-23 9:28 Patch: zram add compressionratio in sysfs interface Yogesh Gaur
2014-07-29 3:01 ` Minchan Kim
2014-07-29 3:01 ` Minchan Kim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.