summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSri Krishna chowdary <schowdary@nvidia.com>2014-01-29 11:29:19 +0530
committerHiroshi Doyu <hdoyu@nvidia.com>2014-01-31 01:39:51 -0800
commitab3fdf31e9a4badbd52505ae1463a57cbf8459fb (patch)
tree12d2c781e3fef809d93ed0c902d2b393740630f7 /drivers
parent921269ae1b93ea9e87a7ce72a7f423e80688fca1 (diff)
Staging: ZRAM: Enable ZRAM
Enable ZRAM on tegra by default. Set CONFIG_ZRAM = y. Set CONFIG_ZSMALLOC = y as ZRAM needs it. Bug 1307844 Change-Id: Ieecc3f547c70068b3f978d16935239d53c4b9999 Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/336634 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com> Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/zram/Kconfig2
-rw-r--r--drivers/staging/zsmalloc/Kconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/zram/Kconfig b/drivers/staging/zram/Kconfig
index 983314c41349..bd6d4178e690 100644
--- a/drivers/staging/zram/Kconfig
+++ b/drivers/staging/zram/Kconfig
@@ -3,7 +3,7 @@ config ZRAM
depends on BLOCK && SYSFS && ZSMALLOC
select LZO_COMPRESS
select LZO_DECOMPRESS
- default n
+ default y
help
Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
Pages written to these disks are compressed and stored in memory
diff --git a/drivers/staging/zsmalloc/Kconfig b/drivers/staging/zsmalloc/Kconfig
index 7fab032298f3..2fbb21284dda 100644
--- a/drivers/staging/zsmalloc/Kconfig
+++ b/drivers/staging/zsmalloc/Kconfig
@@ -1,6 +1,6 @@
config ZSMALLOC
bool "Memory allocator for compressed pages"
- default n
+ default y
help
zsmalloc is a slab-based memory allocator designed to store
compressed RAM pages. zsmalloc uses virtual memory mapping