aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/zcache/Kconfig
diff options
context:
space:
mode:
authorDan Magenheimer <dan.magenheimer@oracle.com>2011-02-06 19:27:09 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-09 15:08:22 -0800
commit6630889735ec3d950b4f1496ada77df287d8ee1b (patch)
tree491c3ba7b4b7966b21688a024be5db6904ec4052 /drivers/staging/zcache/Kconfig
parent9cc06bf88d554dd527ded26eab28eec6a0d0e3df (diff)
staging: zcache: misc build/config
[PATCH V2 3/3] drivers/staging: zcache: misc build/config Makefiles and Kconfigs to build zcache in drivers/staging There is a dependency on xvmalloc.* which in 2.6.37 resides in drivers/staging/zram. Should this move or disappear, some Makefile/Kconfig changes will be required. Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> Signed-off-by: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/zcache/Kconfig')
-rw-r--r--drivers/staging/zcache/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig
new file mode 100644
index 00000000000..7fabcb2bc80
--- /dev/null
+++ b/drivers/staging/zcache/Kconfig
@@ -0,0 +1,13 @@
+config ZCACHE
+ tristate "Dynamic compression of swap pages and clean pagecache pages"
+ depends on CLEANCACHE || FRONTSWAP
+ select XVMALLOC
+ select LZO_COMPRESS
+ select LZO_DECOMPRESS
+ default n
+ help
+ Zcache doubles RAM efficiency while providing a significant
+ performance boosts on many workloads. Zcache uses lzo1x
+ compression and an in-kernel implementation of transcendent
+ memory to store clean page cache pages and swap in RAM,
+ providing a noticeable reduction in disk I/O.