2015-12-17 09:29:22 +00:00
|
|
|
From a185127b2013c6ab21b311acdc3ba16140b94c48 Mon Sep 17 00:00:00 2001
|
2015-07-17 12:48:39 +00:00
|
|
|
From: popcornmix <popcornmix@gmail.com>
|
|
|
|
Date: Sun, 22 Mar 2015 13:33:23 +0000
|
2015-12-17 09:29:22 +00:00
|
|
|
Subject: [PATCH 078/222] config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING
|
2015-07-17 12:48:39 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
arch/arm/configs/bcm2709_defconfig | 4 ++++
|
|
|
|
arch/arm/configs/bcmrpi_defconfig | 4 ++++
|
|
|
|
2 files changed, 8 insertions(+)
|
|
|
|
|
|
|
|
--- a/arch/arm/configs/bcm2709_defconfig
|
|
|
|
+++ b/arch/arm/configs/bcm2709_defconfig
|
|
|
|
@@ -49,6 +49,8 @@ CONFIG_OABI_COMPAT=y
|
|
|
|
CONFIG_CLEANCACHE=y
|
|
|
|
CONFIG_FRONTSWAP=y
|
|
|
|
CONFIG_CMA=y
|
|
|
|
+CONFIG_ZSMALLOC=m
|
|
|
|
+CONFIG_PGTABLE_MAPPING=y
|
|
|
|
CONFIG_UACCESS_WITH_MEMCPY=y
|
|
|
|
CONFIG_SECCOMP=y
|
|
|
|
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
|
|
@@ -389,6 +391,8 @@ CONFIG_DEVTMPFS=y
|
|
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
|
|
CONFIG_DMA_CMA=y
|
|
|
|
CONFIG_CMA_SIZE_MBYTES=5
|
|
|
|
+CONFIG_ZRAM=m
|
|
|
|
+CONFIG_ZRAM_LZ4_COMPRESS=y
|
|
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
|
|
CONFIG_BLK_DEV_CRYPTOLOOP=m
|
|
|
|
CONFIG_BLK_DEV_DRBD=m
|
|
|
|
--- a/arch/arm/configs/bcmrpi_defconfig
|
|
|
|
+++ b/arch/arm/configs/bcmrp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