aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-rpi/config-rpi.armhf
diff options
context:
space:
mode:
authorSean Bartell <yotann@yotann.org>2016-05-29 20:07:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-30 13:12:40 +0000
commit7fd0cf5f0bdc1a8cdd0058868f459af3f83969ca (patch)
tree184bf6a26184d5a1114582f29c3dcb9d612fe457 /main/linux-rpi/config-rpi.armhf
parent995cc487d0e2d2caf251effe8ae5cb177e57bc39 (diff)
downloadaports-7fd0cf5f0bdc1a8cdd0058868f459af3f83969ca.tar.bz2
aports-7fd0cf5f0bdc1a8cdd0058868f459af3f83969ca.tar.xz
main/linux-rpi: enable zram
settings taken from https://github.com/raspberrypi/linux/issues/894
Diffstat (limited to 'main/linux-rpi/config-rpi.armhf')
-rw-r--r--main/linux-rpi/config-rpi.armhf7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/linux-rpi/config-rpi.armhf b/main/linux-rpi/config-rpi.armhf
index 4f16fb9924..1f80bb79aa 100644
--- a/main/linux-rpi/config-rpi.armhf
+++ b/main/linux-rpi/config-rpi.armhf
@@ -438,7 +438,9 @@ CONFIG_CMA_AREAS=7
# CONFIG_ZSWAP is not set
# CONFIG_ZPOOL is not set
# CONFIG_ZBUD is not set
-# CONFIG_ZSMALLOC is not set
+CONFIG_ZSMALLOC=m
+CONFIG_PGTABLE_MAPPING=y
+# CONFIG_ZSMALLOC_STAT is not set
# CONFIG_IDLE_PAGE_TRACKING is not set
CONFIG_FRAME_VECTOR=y
CONFIG_FORCE_MAX_ZONEORDER=11
@@ -1269,6 +1271,8 @@ CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
+CONFIG_ZRAM=m
+CONFIG_ZRAM_LZ4_COMPRESS=y
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
@@ -4927,6 +4931,7 @@ CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
+CONFIG_LZ4_COMPRESS=m
CONFIG_LZ4_DECOMPRESS=m
CONFIG_XZ_DEC=m
# CONFIG_XZ_DEC_X86 is not set