RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / zram / Kconfig
blob4654ae2eb42e66e9217c7181808400d9cd8789b5
1 config ZRAM
2         tristate "Compressed RAM block device support"
3         depends on BLOCK
4         select LZO_COMPRESS
5         select LZO_DECOMPRESS
6         default n
7         help
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.
17           Project home: http://compcache.googlecode.com/
19 config ZRAM_STATS
20         bool "Enable statistics for compressed RAM disks"
21         depends on ZRAM
22         default y
23         help
24           Enable statistics collection for compressed RAM devices. Statistics
25           are exported through ioctl interface, so you have to use zramconfig
26           program to get them. This adds only a minimal overhead.
28           If unsure, say Y.