* LZMA compression algorithm in Kernel - any chance to allow it?
@ 2008-06-26 7:56 Tomas M
2008-06-26 12:31 ` Jan Engelhardt
2008-06-26 20:17 ` Pavel Machek
0 siblings, 2 replies; 12+ messages in thread
From: Tomas M @ 2008-06-26 7:56 UTC (permalink / raw)
To: linux-kernel
Hello.
I can see the 2.6.25 kernel includes LZO compression algorithm in:
[*] Cryptographic API
< > LZO compression algorithm
As far as I could see, there was a strong pressure against putting compression algorithms in kernel. Does this LZO example mean that kernel people are now more open to include other algorithms as well? I'd like to include LZMA algo, which has far better compression ratio then anything else widely used today, and is already used in many small or embeded systems (as external patches to kernel or userspace utilities)
If I (or anybody else) submit LZMA code for inclusion in kernel, would you ACCEPT IT ?? (assuming the code looks nice to you)
Thank you
Tomas M
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LZMA compression algorithm in Kernel - any chance to allow it?
2008-06-26 7:56 LZMA compression algorithm in Kernel - any chance to allow it? Tomas M
@ 2008-06-26 12:31 ` Jan Engelhardt
2008-06-26 13:37 ` Tomas M
2008-06-26 20:17 ` Pavel Machek
1 sibling, 1 reply; 12+ messages in thread
From: Jan Engelhardt @ 2008-06-26 12:31 UTC (permalink / raw)
To: Tomas M; +Cc: linux-kernel
On Thursday 2008-06-26 09:56, Tomas M wrote:
>If I (or anybody else) submit LZMA code for inclusion in kernel,
>would you ACCEPT IT ?? (assuming the code looks nice to you)
The bad thing is, they won't tell you before you submitted it.
The good thing is, that it may get accepted nevertheless if sent
often enough.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LZMA compression algorithm in Kernel - any chance to allow it?
2008-06-26 12:31 ` Jan Engelhardt
@ 2008-06-26 13:37 ` Tomas M
2008-06-26 16:00 ` Stefan Richter
0 siblings, 1 reply; 12+ messages in thread
From: Tomas M @ 2008-06-26 13:37 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: linux-kernel
> The bad thing is, they won't tell you before you submitted it.
By 'they' you mean who?
Who decides what is accepted anyway?
* H. Peter Anvin, President ?
* Jeff Uphoff, Treasurer ?
* Chris Wright, Secretary ?
* Kees Cook, Board Member ?
* Linus Torvalds, Board Member ?
[names quoted from http://kernel.org/nonprofit.html:]
> The good thing is, that it may get accepted nevertheless if sent
> often enough.
Well that point is very interesting and useful indeed :)
Tomas M
slax.org
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: LZMA compression algorithm in Kernel - any chance to allow it?
2008-06-26 13:37 ` Tomas M
@ 2008-06-26 16:00 ` Stefan Richter
0 siblings, 0 replies; 12+ messages in thread
From: Stefan Richter @ 2008-06-26 16:00 UTC (permalink / raw)
To: Tomas M; +Cc: Jan Engelhardt, linux-kernel
Tomas M wrote:
>> The bad thing is, they won't tell you before you submitted it.
>
> By 'they' you mean who?
> Who decides what is accepted anyway?
Major contributors (reviewers, maintainers) do, and ultimately Linus.
You said LZMA is already used by out-of-tree code in the embedded
domain. So I suppose a submission of an LZMA implementation should
rather be part of a submission of code which actually uses it.
--
Stefan Richter
-=====-==--- -==- ==-=-
http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LZMA compression algorithm in Kernel - any chance to allow it?
2008-06-26 7:56 LZMA compression algorithm in Kernel - any chance to allow it? Tomas M
2008-06-26 12:31 ` Jan Engelhardt
@ 2008-06-26 20:17 ` Pavel Machek
2008-06-27 12:14 ` Tomas M
2008-06-27 13:32 ` Jan Engelhardt
1 sibling, 2 replies; 12+ messages in thread
From: Pavel Machek @ 2008-06-26 20:17 UTC (permalink / raw)
To: Tomas M; +Cc: linux-kernel
On Thu 2008-06-26 09:56:23, Tomas M wrote:
> Hello.
> I can see the 2.6.25 kernel includes LZO compression algorithm in:
>
> [*] Cryptographic API
> < > LZO compression algorithm
>
> As far as I could see, there was a strong pressure against putting compression algorithms in kernel. Does this LZO example mean that kernel people are now more open to include other algorithms as well? I'd like to include LZMA algo, which has far better compression ratio then anything else widely used today, and is already used in many small or embeded systems (as external patches to kernel or userspace utilities)
>
> If I (or anybody else) submit LZMA code for inclusion in kernel, would you ACCEPT IT ?? (assuming the code looks nice to you)
You need some good reason why lzma should be in kernel... like 'cramfs
can use it'...?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LZMA compression algorithm in Kernel - any chance to allow it?
2008-06-26 20:17 ` Pavel Machek
@ 2008-06-27 12:14 ` Tomas M
2008-06-27 12:20 ` Pavel Machek
2008-06-27 13:32 ` Jan Engelhardt
1 sibling, 1 reply; 12+ messages in thread
From: Tomas M @ 2008-06-27 12:14 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-kernel
Well, I use LZMA particularly in squashfs, which is a replacement for cramfs at all.
Unfortunately even squashfs is not in kernel.
Tomas M
Pavel Machek wrote:
> On Thu 2008-06-26 09:56:23, Tomas M wrote:
>> Hello.
>> I can see the 2.6.25 kernel includes LZO compression algorithm in:
>>
>> [*] Cryptographic API
>> < > LZO compression algorithm
>>
>> As far as I could see, there was a strong pressure against putting compression algorithms in kernel. Does this LZO example mean that kernel people are now more open to include other algorithms as well? I'd like to include LZMA algo, which has far better compression ratio then anything else widely used today, and is already used in many small or embeded systems (as external patches to kernel or userspace utilities)
>>
>> If I (or anybody else) submit LZMA code for inclusion in kernel, would you ACCEPT IT ?? (assuming the code looks nice to you)
>
> You need some good reason why lzma should be in kernel... like 'cramfs
> can use it'...?
> Pavel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LZMA compression algorithm in Kernel - any chance to allow it?
2008-06-26 20:17 ` Pavel Machek
2008-06-27 12:14 ` Tomas M
@ 2008-06-27 13:32 ` Jan Engelhardt
2008-06-27 14:11 ` Tomas M
1 sibling, 1 reply; 12+ messages in thread
From: Jan Engelhardt @ 2008-06-27 13:32 UTC (permalink / raw)
To: Pavel Machek; +Cc: Tomas M, linux-kernel
On Thursday 2008-06-26 22:17, Pavel Machek wrote:
>> If I (or anybody else) submit LZMA code for inclusion in kernel, would you ACCEPT IT ?? (assuming the code looks nice to you)
>
>You need some good reason why lzma should be in kernel... like 'cramfs
>can use it'...?
squashfs if at all.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LZMA compression algorithm in Kernel - any chance to allow it?
2008-06-27 13:32 ` Jan Engelhardt
@ 2008-06-27 14:11 ` Tomas M
2008-06-27 14:15 ` Josh Boyer
2008-07-01 6:37 ` Jan Engelhardt
0 siblings, 2 replies; 12+ messages in thread
From: Tomas M @ 2008-06-27 14:11 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Pavel Machek, linux-kernel
Jan Engelhardt wrote:
> On Thursday 2008-06-26 22:17, Pavel Machek wrote:
>>> If I (or anybody else) submit LZMA code for inclusion in kernel, would you ACCEPT IT ?? (assuming the code looks nice to you)
>> You need some good reason why lzma should be in kernel... like 'cramfs
>> can use it'...?
>
> squashfs if at all.
>
Well anything can use lzma or any other compressions, not only squashfs.
Squashfs is a great example, where you get 30% smaller filesystems compared to gzip.
Tomas M
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LZMA compression algorithm in Kernel - any chance to allow it?
2008-06-27 14:11 ` Tomas M
@ 2008-06-27 14:15 ` Josh Boyer
2008-07-01 6:37 ` Jan Engelhardt
1 sibling, 0 replies; 12+ messages in thread
From: Josh Boyer @ 2008-06-27 14:15 UTC (permalink / raw)
To: Tomas M; +Cc: Jan Engelhardt, Pavel Machek, linux-kernel
On Fri, 2008-06-27 at 16:11 +0200, Tomas M wrote:
> Jan Engelhardt wrote:
> > On Thursday 2008-06-26 22:17, Pavel Machek wrote:
> >>> If I (or anybody else) submit LZMA code for inclusion in kernel, would you ACCEPT IT ?? (assuming the code looks nice to you)
> >> You need some good reason why lzma should be in kernel... like 'cramfs
> >> can use it'...?
> >
> > squashfs if at all.
> >
>
> Well anything can use lzma or any other compressions, not only squashfs.
> Squashfs is a great example, where you get 30% smaller filesystems compared to gzip.
JFFS2 has an framework for having multiple compression algorithms.
Adding LZMA to that wouldn't be difficult either.
josh
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LZMA compression algorithm in Kernel - any chance to allow it?
2008-06-27 14:11 ` Tomas M
2008-06-27 14:15 ` Josh Boyer
@ 2008-07-01 6:37 ` Jan Engelhardt
1 sibling, 0 replies; 12+ messages in thread
From: Jan Engelhardt @ 2008-07-01 6:37 UTC (permalink / raw)
To: Tomas M; +Cc: Pavel Machek, linux-kernel
On Friday 2008-06-27 16:11, Tomas M wrote:
>Jan Engelhardt wrote:
>> On Thursday 2008-06-26 22:17, Pavel Machek wrote:
>>>> If I (or anybody else) submit LZMA code for inclusion in kernel, would you ACCEPT IT ?? (assuming the code looks nice to you)
>>> You need some good reason why lzma should be in kernel... like 'cramfs
>>> can use it'...?
>>
>> squashfs if at all.
>>
>
>Well anything can use lzma or any other compressions, not only squashfs.
>Squashfs is a great example, where you get 30% smaller filesystems compared to gzip.
I rather meant "who would still use cramfs", given that squashfs
actually crams more files into the same space.
^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <fa.WuwHJZhCHgER6Pu+gn66zdRwVUg@ifi.uio.no>]
* Re: LZMA compression algorithm in Kernel - any chance to allow it?
[not found] <fa.WuwHJZhCHgER6Pu+gn66zdRwVUg@ifi.uio.no>
@ 2008-06-27 1:58 ` Robert Hancock
0 siblings, 0 replies; 12+ messages in thread
From: Robert Hancock @ 2008-06-27 1:58 UTC (permalink / raw)
To: Tomas M; +Cc: linux-kernel
Tomas M wrote:
> Hello.
> I can see the 2.6.25 kernel includes LZO compression algorithm in:
>
> [*] Cryptographic API
> < > LZO compression algorithm
>
> As far as I could see, there was a strong pressure against putting compression algorithms in kernel. Does this LZO example mean that kernel people are now more open to include other algorithms as well? I'd like to include LZMA algo, which has far better compression ratio then anything else widely used today, and is already used in many small or embeded systems (as external patches to kernel or userspace utilities)
>
> If I (or anybody else) submit LZMA code for inclusion in kernel, would you ACCEPT IT ?? (assuming the code looks nice to you)
Not if there is nothing that uses it. If you have a place in the kernel
that could make good use of such compression, which couldn't easily be
handled outside the kernel, and you update it to use it, I would guess
it would likely be accepted.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-07-01 6:37 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-26 7:56 LZMA compression algorithm in Kernel - any chance to allow it? Tomas M
2008-06-26 12:31 ` Jan Engelhardt
2008-06-26 13:37 ` Tomas M
2008-06-26 16:00 ` Stefan Richter
2008-06-26 20:17 ` Pavel Machek
2008-06-27 12:14 ` Tomas M
2008-06-27 12:20 ` Pavel Machek
2008-06-27 13:32 ` Jan Engelhardt
2008-06-27 14:11 ` Tomas M
2008-06-27 14:15 ` Josh Boyer
2008-07-01 6:37 ` Jan Engelhardt
[not found] <fa.WuwHJZhCHgER6Pu+gn66zdRwVUg@ifi.uio.no>
2008-06-27 1:58 ` Robert Hancock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox