@@ -2474,8 +2474,9 @@ CONFIG_ANDROID_LOW_MEMORY_KILLER=y
# CONFIG_USB_SERIAL_QUATECH_USB2 is not set
# CONFIG_VT6656 is not set
# CONFIG_IIO is not set
-# CONFIG_XVMALLOC is not set
-# CONFIG_ZRAM is not set
+CONFIG_XVMALLOC=y
+CONFIG_ZRAM=m
+# CONFIG_ZRAM_DEBUG is not set
# CONFIG_FB_SM7XX is not set
# CONFIG_EASYCAP is not set
CONFIG_MACH_NO_WESTBRIDGE=y
...
...
@@ -2929,6 +2930,8 @@ CONFIG_CRC7=y
CONFIG_LIBCRC32C=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=m
+CONFIG_LZO_DECOMPRESS=m
# CONFIG_XZ_DEC is not set
# CONFIG_XZ_DEC_BCJ is not set
CONFIG_DECOMPRESS_GZIP=y
kernel/arch/arm/configs/下的厂商配置文件,linux已经集成了ZRAM,只需要打开就好
剩下的跟swap配置如出一撤,只是ZRAM交互文件在内存里