]> Pileus Git - ~andy/linux/blob - drivers/staging/zram/Kconfig
Pull 'for-linus' branches of git://git.kernel.org/pub/scm/linux/kernel/git/viro/...
[~andy/linux] / drivers / staging / zram / Kconfig
1 config ZRAM
2         tristate "Compressed RAM block device support"
3         # X86 dependency is because zsmalloc uses non-portable pte/tlb
4         # functions
5         depends on BLOCK && SYSFS && X86
6         select ZSMALLOC
7         select LZO_COMPRESS
8         select LZO_DECOMPRESS
9         default n
10         help
11           Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
12           Pages written to these disks are compressed and stored in memory
13           itself. These disks allow very fast I/O and compression provides
14           good amounts of memory savings.
15
16           It has several use cases, for example: /tmp storage, use as swap
17           disks and maybe many more.
18
19           See zram.txt for more information.
20           Project home: http://compcache.googlecode.com/
21
22 config ZRAM_DEBUG
23         bool "Compressed RAM block device debug support"
24         depends on ZRAM
25         default n
26         help
27           This option adds additional debugging code to the compressed
28           RAM block device driver.