lkml.org 
[lkml]   [2003]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[Patch] 2.5.70-bk11 zlib reduce deflate workspace by 128k
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.028 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site