mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Patch] 2.5.70-bk11 zlib reduce deflate workspace by 128k
@ 2003-06-06 14:01 Jörn Engel
       [not found] ` <20030606170043.37965017.art_k@o2.pl>
  0 siblings, 1 reply; 2+ messages in thread
From: Jörn Engel @ 2003-06-06 14:01 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Steven Cole, linux-kernel

Hi Linus!

Free lunch time.  There are currently no users in the kernel that use
a memlevel >8, but we reserve space for 9.  The patch saves 128k at no
cost.

Jörn

-- 
The cost of changing business rules is much more expensive for software
than for a secretaty.
-- unknown

--- linux-2.5.70-bk11/include/linux/zconf.h~zlib_memlevel	2003-06-06 15:56:15.000000000 +0200
+++ linux-2.5.70-bk11/include/linux/zconf.h	2003-06-06 15:57:28.000000000 +0200
@@ -23,7 +23,7 @@
 
 /* Maximum value for memLevel in deflateInit2 */
 #ifndef MAX_MEM_LEVEL
-#  define MAX_MEM_LEVEL 9
+#  define MAX_MEM_LEVEL 8
 #endif
 
 /* Maximum value for windowBits in deflateInit2 and inflateInit2.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-06 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-06 14:01 [Patch] 2.5.70-bk11 zlib reduce deflate workspace by 128k Jörn Engel
     [not found] ` <20030606170043.37965017.art_k@o2.pl>
2003-06-06 16:29   ` Jörn Engel

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®