306b0c957f
Creates RAM based block devices (/dev/ramzswapX) which can be used (only) as swap disks. Pages swapped to these are compressed and stored in memory itself. The module is called ramzswap.ko. It depends on: - xvmalloc memory allocator (compiled with this driver) - lzo_compress.ko - lzo_decompress.ko See ramzswap.txt for usage details. Signed-off-by: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
22 lines
590 B
Plaintext
22 lines
590 B
Plaintext
config RAMZSWAP
|
|
tristate "Compressed in-memory swap device (ramzswap)"
|
|
depends on SWAP
|
|
select LZO_COMPRESS
|
|
select LZO_DECOMPRESS
|
|
default n
|
|
help
|
|
Creates virtual block devices which can be used (only) as a swap
|
|
disks. Pages swapped to these disks are compressed and stored in
|
|
memory itself.
|
|
|
|
See ramzswap.txt for more information.
|
|
Project home: http://compcache.googlecode.com/
|
|
|
|
config RAMZSWAP_STATS
|
|
bool "Enable ramzswap stats"
|
|
depends on RAMZSWAP
|
|
default y
|
|
help
|
|
Enable statistics collection for ramzswap. This adds only a minimal
|
|
overhead. In unsure, say Y.
|