From: "Satyam Sharma" <satyam.sharma@gmail.com>
To: "Jindrich Makovicka" <makovick@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Add LZO1X compression support to the kernel
Date: Sun, 13 May 2007 01:21:13 +0530 [thread overview]
Message-ID: <a781481a0705121251o5faedbc2ybfef61efdee90864@mail.gmail.com> (raw)
In-Reply-To: <20070512134144.5bb29544@holly>
Hi Jindrich,
On 5/12/07, Jindrich Makovicka <makovick@gmail.com> wrote:
> On Sat, 12 May 2007 12:41:03 +0200
> devzero@web.de wrote:
>
> > oh - and think of linux software suspend.
> > take a notebook with 2 GB of ram - that takes a while to write that
> > to disk and read that back again. using lzo compression for this may
> > probably halve the time for suspend/resume
>
> There were already some attempts on merging of the lzf algorithm:
>
> http://lkml.org/lkml/2006/6/26/215
Hmmm ... that thread had some really neat and simple kernel-compliant
code, but it wanted to bring in a different compression algo :-) LZF, LZO,
LZW are all different.
> Also, ffmpeg/libavcodec contains a much cleaner implementation of LZO
Yeah, I hope the discussion here shifts (after the copyright issues
are resolved,
of course) to the submitted code itself. It's a compression library
also linked to
cryptoapi, so would definitely find users for itself -- this was later
submitted as
a patchset containing the JFFS2 glue code too.
But what I'm not sure about is the suitability of _this_ implementation to be
merged AS IS (~2500 lines of non-kernel-style, and even pointless, code is
no small thing) without a proper conversion / port to the kernel.
The upsides of a proper port would be nice: I suspect ~500 LOC in those
two headers would vanish, and perhaps an equal number in lzo.c (it even
re-invents memset, memcpy, etc for itself!).
The downside, as Richard said, would be that the kernel's LZO is no longer
diff-able with minilzo (the userspace library) which means someone who
takes on maintainership of this will have more work to do. (but how much
more would it be anyway?)
> decompressor, with comparable performance (but no compressor yet I am
> afraid).
Satyam
next prev parent reply other threads:[~2007-05-12 19:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-12 10:41 devzero
2007-05-12 11:41 ` Jindrich Makovicka
2007-05-12 19:51 ` Satyam Sharma [this message]
2007-05-15 16:54 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2007-05-11 20:48 devzero
2007-05-13 13:06 ` Jindrich Makovicka
2007-05-10 8:49 Tomasz Chmielewski
2007-05-02 8:56 Richard Purdie
2007-05-02 9:35 ` Pekka Enberg
2007-05-04 18:28 ` Satyam Sharma
2007-05-10 6:21 ` Andrew Morton
2007-05-10 8:26 ` David Woodhouse
2007-05-10 8:53 ` Richard Purdie
2007-05-10 14:30 ` Jan Engelhardt
2007-05-12 11:17 ` Adrian Bunk
2007-05-12 15:17 ` Richard Purdie
2007-05-12 16:47 ` Andrew Morton
2007-05-12 20:56 ` Richard Purdie
2007-05-13 11:59 ` Markus F.X.J. Oberhumer
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=a781481a0705121251o5faedbc2ybfef61efdee90864@mail.gmail.com \
--to=satyam.sharma@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=makovick@gmail.com \
/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
all inboxes | Powered by JetHome®