]> asedeno.scripts.mit.edu Git - linux.git/blob - drivers/block/zram/Kconfig
2252cd7d0e89d90db7fe6dd827b7cfcbd4b4862c
[linux.git] / drivers / block / zram / Kconfig
1 config ZRAM
2         tristate "Compressed RAM block device support"
3         depends on BLOCK && SYSFS && ZSMALLOC && CRYPTO
4         select CRYPTO_LZO
5         default n
6         help
7           Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
8           Pages written to these disks are compressed and stored in memory
9           itself. These disks allow very fast I/O and compression provides
10           good amounts of memory savings.
11
12           It has several use cases, for example: /tmp storage, use as swap
13           disks and maybe many more.
14
15           See zram.txt for more information.
16
17 config ZRAM_LZ4_COMPRESS
18         bool "Enable LZ4 algorithm support"
19         depends on ZRAM
20         select CRYPTO_LZ4
21         default n
22         help
23           This option enables LZ4 compression algorithm support. Compression
24           algorithm can be changed using `comp_algorithm' device attribute.