aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/zram/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/zram/Kconfig')
-rw-r--r--drivers/staging/zram/Kconfig28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/staging/zram/Kconfig b/drivers/staging/zram/Kconfig
new file mode 100644
index 00000000000..5bcfe16feb1
--- /dev/null
+++ b/drivers/staging/zram/Kconfig
@@ -0,0 +1,28 @@
1config ZRAM
2 tristate "Compressed RAM block device support"
3 select LZO_COMPRESS
4 select LZO_DECOMPRESS
5 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.
16 Project home: http://compcache.googlecode.com/
17
18config ZRAM_STATS
19 bool "Enable statistics for compressed RAM disks"
20 depends on ZRAM
21 default y
22 help
23 Enable statistics collection for compressed RAM devices. Statistics
24 are exported through ioctl interface, so you have to use zramconfig
25 program to get them. This adds only a minimal overhead.
26
27 If unsure, say Y.
28