From: Bojan Smojver <bojan@rexursive.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: [PATCH 1/2] PM: Compress hibernation image with LZO
Date: Thu, 19 Aug 2010 21:11:02 +1000 [thread overview]
Message-ID: <1282216262.17635.127.camel@shrek.rexursive.com> (raw)
In-Reply-To: <1282211375.17635.96.camel@shrek.rexursive.com>
On Thu, 2010-08-19 at 19:49 +1000, Bojan Smojver wrote:
> I still have to see about Kconfig selects. Will
> get back to you on this
For instance, we have this:
---------------------
config JFFS2_LZO
bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS
select LZO_COMPRESS
select LZO_DECOMPRESS
depends on JFFS2_FS
default n
help
minilzo-based compression. Generally works better than Zlib.
This feature was added in July, 2007. Say 'N' if you need
compatibility with older bootloaders or kernels.
---------------------
And this:
---------------------
config ZRAM
tristate "Compressed RAM block device support"
depends on BLOCK
select LZO_COMPRESS
select LZO_DECOMPRESS
default n
help
Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
Pages written to these disks are compressed and stored in memory
itself. These disks allow very fast I/O and compression provides
good amounts of memory savings.
It has several use cases, for example: /tmp storage, use as swap
disks and maybe many more.
See zram.txt for more information.
Project home: http://compcache.googlecode.com/
---------------------
And this:
---------------------
config CRYPTO_LZO
tristate "LZO compression algorithm"
select CRYPTO_ALGAPI
select LZO_COMPRESS
select LZO_DECOMPRESS
help
This is the LZO algorithm.
---------------------
And finally, we have this:
---------------------
#
# compression support is select'ed if needed
#
config ZLIB_INFLATE
tristate
config ZLIB_DEFLATE
tristate
config LZO_COMPRESS
tristate
config LZO_DECOMPRESS
tristate
---------------------
Which would suggest to me that selecting it is the right thing to do.
--
Bojan
next prev parent reply other threads:[~2010-08-19 11:11 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-10 2:29 [PATCH 1/2] PM: Compress hibernation image with LZO Bojan Smojver
2010-08-17 0:52 ` Bojan Smojver
2010-08-17 10:55 ` Rafael J. Wysocki
2010-08-17 13:38 ` Bojan Smojver
2010-08-18 23:02 ` Rafael J. Wysocki
2010-08-18 23:41 ` Bojan Smojver
2010-08-19 9:49 ` Bojan Smojver
2010-08-19 11:11 ` Bojan Smojver [this message]
2010-08-20 23:32 ` Rafael J. Wysocki
2010-08-20 12:11 ` Bojan Smojver
2010-08-20 23:36 ` Rafael J. Wysocki
2010-08-21 4:40 ` Bojan Smojver
2010-08-22 19:23 ` Rafael J. Wysocki
2010-08-22 19:29 ` Rafael J. Wysocki
2010-08-22 22:33 ` Bojan Smojver
2010-08-22 23:47 ` Bojan Smojver
2010-08-23 21:43 ` Rafael J. Wysocki
2010-08-23 23:20 ` Bojan Smojver
2010-09-08 23:45 ` Rafael J. Wysocki
2010-09-09 0:08 ` Bojan Smojver
2010-08-21 6:15 ` Nigel Cunningham
2010-08-22 19:47 ` Rafael J. Wysocki
2010-08-22 21:52 ` Nigel Cunningham
2010-08-19 13:40 ` Rafael J. Wysocki
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=1282216262.17635.127.camel@shrek.rexursive.com \
--to=bojan@rexursive.com \
--cc=linux-pm@lists.linux-foundation.org \
--cc=rjw@sisk.pl \
/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;
as well as URLs for NNTP newsgroup(s).