Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dan Magenheimer and committed by
Greg Kroah-Hartman
66308897 9cc06bf8

+17
+2
drivers/staging/Kconfig
··· 127 127 128 128 source "drivers/staging/zram/Kconfig" 129 129 130 + source "drivers/staging/zcache/Kconfig" 131 + 130 132 source "drivers/staging/wlags49_h2/Kconfig" 131 133 132 134 source "drivers/staging/wlags49_h25/Kconfig"
+1
drivers/staging/Makefile
··· 45 45 obj-$(CONFIG_IIO) += iio/ 46 46 obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio/ 47 47 obj-$(CONFIG_ZRAM) += zram/ 48 + obj-$(CONFIG_ZCACHE) += zcache/ 48 49 obj-$(CONFIG_WLAGS49_H2) += wlags49_h2/ 49 50 obj-$(CONFIG_WLAGS49_H25) += wlags49_h25/ 50 51 obj-$(CONFIG_SAMSUNG_LAPTOP) += samsung-laptop/
+13
drivers/staging/zcache/Kconfig
··· 1 + config ZCACHE 2 + tristate "Dynamic compression of swap pages and clean pagecache pages" 3 + depends on CLEANCACHE || FRONTSWAP 4 + select XVMALLOC 5 + select LZO_COMPRESS 6 + select LZO_DECOMPRESS 7 + default n 8 + help 9 + Zcache doubles RAM efficiency while providing a significant 10 + performance boosts on many workloads. Zcache uses lzo1x 11 + compression and an in-kernel implementation of transcendent 12 + memory to store clean page cache pages and swap in RAM, 13 + providing a noticeable reduction in disk I/O.
+1
drivers/staging/zcache/Makefile
··· 1 + obj-$(CONFIG_ZCACHE) += zcache.o tmem.o