Commit | Line | Data |
---|---|---|
16a4bfb9 NG |
1 | config ZRAM |
2 | tristate "Compressed RAM block device support" | |
6e236172 | 3 | depends on BLOCK && SYSFS && ZSMALLOC |
16a4bfb9 NG |
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. | |
12 | ||
13 | It has several use cases, for example: /tmp storage, use as swap | |
14 | disks and maybe many more. | |
15 | ||
16 | See zram.txt for more information. | |
dbc320f7 | 17 | Project home: <https://compcache.googlecode.com/> |
b1f5b81e RJ |
18 | |
19 | config ZRAM_DEBUG | |
20 | bool "Compressed RAM block device debug support" | |
21 | depends on ZRAM | |
22 | default n | |
23 | help | |
24 | This option adds additional debugging code to the compressed | |
25 | RAM block device driver. |