From: Yogesh Gaur <yogeshgaur.83@gmail.com>
To: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
minchan@kernel.org, ngupta@vflare.org
Subject: Patch: zram add compressionratio in sysfs interface
Date: Wed, 23 Jul 2014 14:58:00 +0530 [thread overview]
Message-ID: <CAG6enPwuD2_6U=iELn9C7gMzxre0V-VYmxP14R-qW3sMNddvCg@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2014-07-23 9:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-23 9:28 Yogesh Gaur [this message]
2014-07-29 3:01 ` Minchan Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAG6enPwuD2_6U=iELn9C7gMzxre0V-VYmxP14R-qW3sMNddvCg@mail.gmail.com' \
--to=yogeshgaur.83@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=minchan@kernel.org \
--cc=ngupta@vflare.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox