Commit 5b29b6f3 authored by Jörn Engel's avatar Jörn Engel Committed by Linus Torvalds

[PATCH] zlib changes: memlevel

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.
parent ab7c828b
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment