[Patch] 2.5.70-bk11 zlib reduce deflate workspace by 128k

From: Jörn Engel (joern@wohnheim.fh-wedel.de)
Date: Fri Jun 06 2003 - 09:01:49 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:30 EST