2 tristate "Compressed RAM block device support"
3 depends on BLOCK && SYSFS && ZSMALLOC && CRYPTO
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.
12 It has several use cases, for example: /tmp storage, use as swap
13 disks and maybe many more.
15 See zram.txt for more information.
18 bool "Write back incompressible page to backing device"
22 With incompressible page, there is no memory saving to keep it
23 in memory. Instead, write it out to backing device.
24 For this feature, admin should set up backing device via
25 /sys/block/zramX/backing_dev.
27 See zram.txt for more infomration.