From fa22dbf0858a8483a61409c23e3093533ae21fda Mon Sep 17 00:00:00 2001 From: Minecrell Date: Wed, 8 Feb 2023 18:36:32 +0100 Subject: [PATCH] configs: aosp: Add ZRAM --- kernel/configs/aosp.config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel/configs/aosp.config b/kernel/configs/aosp.config index 4c80fc2e6709f0..29fa3083c3463b 100644 --- a/kernel/configs/aosp.config +++ b/kernel/configs/aosp.config @@ -16,3 +16,9 @@ CONFIG_CRYPTO_SM4_ARM64_NEON_BLK=y CONFIG_DMABUF_HEAPS=y CONFIG_DMABUF_HEAPS_SYSTEM=y CONFIG_DMABUF_HEAPS_CMA=y + +# ZRAM +CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y +# FIXME: Is this needed? +CONFIG_ZRAM_MEMORY_TRACKING=y