2 tristate "Compressed RAM block device support"
3 depends on BLOCK && SYSFS && ZSMALLOC
8 Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
9 Pages written to these disks are compressed and stored in memory
10 itself. These disks allow very fast I/O and compression provides
11 good amounts of memory savings.
13 It has several use cases, for example: /tmp storage, use as swap
14 disks and maybe many more.
16 See zram.txt for more information.
18 config ZRAM_LZ4_COMPRESS
19 bool "Enable LZ4 algorithm support"
25 This option enables LZ4 compression algorithm support. Compression
26 algorithm can be changed using `comp_algorithm' device attribute.