diff options
| author | Jörn Engel <joern@wohnheim.fh-wedel.de> | 2003-06-08 04:11:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-08 04:11:10 -0700 |
| commit | 5b29b6f30e73f17f2492bc68e78406da5d2869fc (patch) | |
| tree | cd0afdbe62f208f7cb96f6947c5f144fa4bf6f2c /include | |
| parent | ab7c828bf0dcddf9e4aeb2cc77eec7614c7cf580 (diff) | |
[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.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/zconf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/zconf.h b/include/linux/zconf.h index 4557b3a55068..f1cfd66b9554 100644 --- a/include/linux/zconf.h +++ b/include/linux/zconf.h @@ -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. |
