kernel_optimize_test/fs/logfs
Jim Keniston 565d76cb7d zlib: slim down zlib_deflate() workspace when possible
Instead of always creating a huge (268K) deflate_workspace with the
maximum compression parameters (windowBits=15, memLevel=8), allow the
caller to obtain a smaller workspace by specifying smaller parameter
values.

For example, when capturing oops and panic reports to a medium with
limited capacity, such as NVRAM, compression may be the only way to
capture the whole report.  In this case, a small workspace (24K works
fine) is a win, whether you allocate the workspace when you need it (i.e.,
during an oops or panic) or at boot time.

I've verified that this patch works with all accepted values of windowBits
(positive and negative), memLevel, and compression level.

Signed-off-by: Jim Keniston <jkenisto@us.ibm.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: David Miller <davem@davemloft.net>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-22 17:44:17 -07:00
..
compr.c zlib: slim down zlib_deflate() workspace when possible 2011-03-22 17:44:17 -07:00
dev_bdev.c block: clean up blkdev_get() wrappers and their users 2010-11-13 11:55:18 +01:00
dev_mtd.c logfs: fix a leak in get_sb 2010-10-29 04:16:48 -04:00
dir.c fs: provide rcu-walk aware permission i_ops 2011-01-07 17:50:29 +11:00
file.c logfs: kill BKL 2010-08-14 00:24:24 +02:00
gc.c logfs: handle powerfail on NAND flash 2010-05-07 19:38:40 +02:00
inode.c fs: icache RCU free inodes 2011-01-07 17:50:26 +11:00
journal.c logfs: fix deadlock in logfs_get_wblocks, hold and wait on super->s_write_mutex 2010-12-22 19:43:33 -08:00
Kconfig [LogFS] add new flash file system 2009-11-20 20:13:39 +01:00
logfs_abi.h fix "seperate" typos in comments 2010-05-10 11:56:30 +02:00
logfs.h fs: logfs: Fix up MTD=y build. 2010-11-01 16:34:56 -04:00
Makefile [LogFS] add new flash file system 2009-11-20 20:13:39 +01:00
readwrite.c logfs: fix "Kernel BUG at readwrite.c:1193" 2010-12-22 19:43:33 -08:00
segment.c logfs: get rid of magical inodes 2010-08-09 16:48:26 -04:00
super.c switch logfs to ->mount() 2010-10-29 04:16:51 -04:00