<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/zconf.h, branch v3.2.78</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.78</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.78'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2006-06-22T22:05:58Z</updated>
<entry>
<title>[PATCH] zlib_inflate: Upgrade library code to a recent version</title>
<updated>2006-06-22T22:05:58Z</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@rpsys.net</email>
</author>
<published>2006-06-22T21:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4f3865fb57a04db7cca068fed1c15badc064a302'/>
<id>urn:sha1:4f3865fb57a04db7cca068fed1c15badc064a302</id>
<content type='text'>
Upgrade the zlib_inflate implementation in the kernel from a patched
version 1.1.3/4 to a patched 1.2.3.

The code in the kernel is about seven years old and I noticed that the
external zlib library's inflate performance was significantly faster (~50%)
than the code in the kernel on ARM (and faster again on x86_32).

For comparison the newer deflate code is 20% slower on ARM and 50% slower
on x86_32 but gives an approx 1% compression ratio improvement.  I don't
consider this to be an improvement for kernel use so have no plans to
change the zlib_deflate code.

Various changes have been made to the zlib code in the kernel, the most
significant being the extra functions/flush option used by ppp_deflate.
This update reimplements the features PPP needs to ensure it continues to
work.

This code has been tested on ARM under both JFFS2 (with zlib compression
enabled) and ppp_deflate and on x86_32.  JFFS2 sees an approx.  10% real
world file read speed improvement.

This patch also removes ZLIB_VERSION as it no longer has a correct value.
We don't need version checks anyway as the kernel's module handling will
take care of that for us.  This removal is also more in keeping with the
zlib author's wishes (http://www.zlib.net/zlib_faq.html#faq24) and I've
added something to the zlib.h header to note its a modified version.

Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Acked-by: Joern Engel &lt;joern@wh.fh-wedel.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] zlib changes: memlevel</title>
<updated>2003-06-08T11:11:10Z</updated>
<author>
<name>Jörn Engel</name>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2003-06-08T11:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5b29b6f30e73f17f2492bc68e78406da5d2869fc'/>
<id>urn:sha1:5b29b6f30e73f17f2492bc68e78406da5d2869fc</id>
<content type='text'>
Reduce MAX_MEM_LEVEL to 8.  This reduces zlib memory consumption by
128k (from ~400k to ~270k) at the theoretical cost of worse
compression.  No code currently in the kernel actually uses the better
compression, so the practical cost is zero.
</content>
</entry>
<entry>
<title>[PATCH] zlib cleanup: OF</title>
<updated>2003-06-05T09:13:43Z</updated>
<author>
<name>Jörn Engel</name>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2003-06-05T09:13:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3e3addbbd8cc5520f188b4ccf498c919c411d68b'/>
<id>urn:sha1:3e3addbbd8cc5520f188b4ccf498c919c411d68b</id>
<content type='text'>
Remove the stale support for K&amp;R function declarations through the OF()
macro.

This is the last patch to clean up zconf.h, at least for now.
</content>
</entry>
<entry>
<title>[PATCH] zlib cleanup: z_off_t</title>
<updated>2003-06-05T09:13:36Z</updated>
<author>
<name>Jörn Engel</name>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2003-06-05T09:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e5a74b6757a76ba570e55dd66a3839affb03ddde'/>
<id>urn:sha1:e5a74b6757a76ba570e55dd66a3839affb03ddde</id>
<content type='text'>
This nice macro must have been one of the good intentions on the road
to hell.  Completely unused. :)
</content>
</entry>
<entry>
<title>[PATCH] zlib cleanup: ZEXPORT</title>
<updated>2003-06-05T09:13:30Z</updated>
<author>
<name>Jörn Engel</name>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2003-06-05T09:13:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=319b508d6409a24967766768968c83222f653c8d'/>
<id>urn:sha1:319b508d6409a24967766768968c83222f653c8d</id>
<content type='text'>
Just a simple s/ZEXPORT//.
</content>
</entry>
<entry>
<title>[PATCH] zlib cleanup: ZEXTERN</title>
<updated>2003-06-05T09:11:39Z</updated>
<author>
<name>Jörn Engel</name>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2003-06-05T09:11:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=aa12a7e30f1ea62603909c59124ccecccd5b858a'/>
<id>urn:sha1:aa12a7e30f1ea62603909c59124ccecccd5b858a</id>
<content type='text'>
This one was just simple s/ZEXTERN/extern/g.
</content>
</entry>
<entry>
<title>[PATCH] zlib cleanup: __32BIT__ and STDC</title>
<updated>2003-06-05T09:02:37Z</updated>
<author>
<name>Jörn Engel</name>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2003-06-05T09:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a4f5516f8cd3dab5b1655f45757db8bbbb418c7e'/>
<id>urn:sha1:a4f5516f8cd3dab5b1655f45757db8bbbb418c7e</id>
<content type='text'>
Remove unused __32BIT__ and STDC macros
</content>
</entry>
<entry>
<title>[PATCH] zlib cleanup: remove FAR macro</title>
<updated>2003-06-05T09:02:29Z</updated>
<author>
<name>Jörn Engel</name>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2003-06-05T09:02:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ff8009c03c3719dcdf06017b1c454a1b8f894826'/>
<id>urn:sha1:ff8009c03c3719dcdf06017b1c454a1b8f894826</id>
<content type='text'>
This removes FAR, the typedefs using FAR (Bytef and friends) and the
function prototypes for zalloc and zfree that should have gone earlier
already.
</content>
</entry>
<entry>
<title>Fix up tree oddities that Al pointed out.</title>
<updated>2002-02-06T15:17:34Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@athlon.transmeta.com</email>
</author>
<published>2002-02-06T15:17:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0ec120046dee44027a28b66a3c28d1031982a9eb'/>
<id>urn:sha1:0ec120046dee44027a28b66a3c28d1031982a9eb</id>
<content type='text'>
</content>
</entry>
</feed>
