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

Jörn Engel (joern@wohnheim.fh-wedel.de)
Fri, 6 Jun 2003 16:01:49 +0200


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/