Staging: Rename ramzswap files to zram
[firefly-linux-kernel-4.4.55.git] / drivers / staging / zram / Kconfig
1 config ZRAM
2         tristate "Compressed RAM block device support"
3         select LZO_COMPRESS
4         select LZO_DECOMPRESS
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           Project home: http://compcache.googlecode.com/
17
18 config ZRAM_STATS
19         bool "Enable statistics for compressed RAM disks"
20         depends on ZRAM
21         default y
22         help
23           Enable statistics collection for compressed RAM devices. Statistics
24           are exported through ioctl interface, so you have to use zramconfig
25           program to get them. This adds only a minimal overhead.
26
27           If unsure, say Y.
28