mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Nitin Gupta](/assets/img/avatar_default.png)
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>
21 lines
590 B
Text
21 lines
590 B
Text
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.
|