From: Tony Lindgren <tony@atomide•com>
To: linux-omap@vger•kernel.org
Cc: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 3/7] ARM: omap2plus_defconfig: Enable zram as loadable modules
Date: Sat, 14 Mar 2020 14:43:24 -0700 [thread overview]
Message-ID: <20200314214328.13342-3-tony@atomide.com> (raw)
In-Reply-To: <20200314214328.13342-1-tony@atomide.com>
Enable zram as loadable modules. This allows mounting some part of
memory as swap on low memory devices.
Signed-off-by: Tony Lindgren <tony@atomide•com>
---
arch/arm/configs/omap2plus_defconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -78,6 +78,8 @@ CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_PARTITION_ADVANCED=y
CONFIG_BINFMT_MISC=y
CONFIG_CMA=y
+CONFIG_ZSMALLOC=m
+CONFIG_PGTABLE_MAPPING=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
@@ -150,6 +152,8 @@ CONFIG_MTD_NAND_OMAP2=y
CONFIG_MTD_NAND_OMAP_BCH=y
CONFIG_MTD_SPI_NOR=m
CONFIG_MTD_UBI=y
+CONFIG_ZRAM=m
+CONFIG_ZRAM_WRITEBACK=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=16384
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-03-14 21:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-14 21:43 [PATCH 1/7] ARM: omap2plus_defconfig: Enable ext4 security for setcap Tony Lindgren
2020-03-14 21:43 ` [PATCH 2/7] ARM: omap2plus_defconfig: Enable simple-pm-bus Tony Lindgren
2020-03-14 21:43 ` Tony Lindgren [this message]
2020-03-14 21:43 ` [PATCH 4/7] ARM: omap2plus_defconfig: Enable more droid4 devices as loadable modules Tony Lindgren
2020-03-14 21:43 ` [PATCH 5/7] ARM: omap2plus_defconfig: Enable McPDM optional PMIC clock as modules Tony Lindgren
2020-03-14 21:43 ` [PATCH 6/7] ARM: omap2plus_defconfig: Enable ina2xx_adc as a loadable module Tony Lindgren
2020-03-14 21:43 ` [PATCH 7/7] ARM: omap2plus_defconfig: Update for moved and dropped options Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200314214328.13342-3-tony@atomide.com \
--to=tony@atomide$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-omap@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox