ee23a86ea7d5eec82644b4964dd3390a500d5abd
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / staging / zram / Kconfig
1 config ZRAM
2         tristate "Compressed RAM block device support"
3         depends on BLOCK && SYSFS
4         select ZSMALLOC
5         select LZO_COMPRESS
6         select LZO_DECOMPRESS
7         default n
8         help
9           Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
10           Pages written to these disks are compressed and stored in memory
11           itself. These disks allow very fast I/O and compression provides
12           good amounts of memory savings.
13
14           It has several use cases, for example: /tmp storage, use as swap
15           disks and maybe many more.
16
17           See zram.txt for more information.
18           Project home: http://compcache.googlecode.com/
19
20 config ZRAM_DEBUG
21         bool "Compressed RAM block device debug support"
22         depends on ZRAM
23         default n
24         help
25           This option adds additional debugging code to the compressed
26           RAM block device driver.