blob: b8ecba6dcd3b8669b01cc537a0027f86e2d8b10c [file] [log] [blame]
Nitin Gupta16a4bfb2010-06-01 13:31:24 +05301config ZRAM
2 tristate "Compressed RAM block device support"
Sergey Senozhatskyebaf9ab2016-07-26 15:22:45 -07003 depends on BLOCK && SYSFS && ZSMALLOC && CRYPTO
4 select CRYPTO_LZO
Nitin Gupta16a4bfb2010-06-01 13:31:24 +05305 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.