Skip to contentSkip to conversation

mm-kconfig-simplify-zswap-configuration.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 19, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: Kconfig: simplify zswap configuration
has been removed from the -mm tree. Its filename was
mm-kconfig-simplify-zswap-configuration.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Johannes Weiner <[email protected]>
Subject: mm: Kconfig: simplify zswap configuration

- CONFIG_ZRAM: Zram is a user-facing feature, whereas zsmalloc is not. Don't make the user chase down a technical dependency like that, just select it in automatically when zram is requested. The CONFIG_CRYPTO dependency is redundant due to more specific deps.

- CONFIG_ZPOOL: This is not a user-facing feature. Hide the symbol and have it selected in as needed.

- CONFIG_ZSWAP: Select CRYPTO instead of depend. Common pattern.

- Make the ZSWAP suboptions and their descriptions (compression, allocation backend) a bit more straight-forward for the user.

---

 drivers/block/zram/Kconfig |    3 +
 mm/Kconfig                 |   55 +++++++++++++++--------------------
 2 files changed, 27 insertions(+), 31 deletions(-)
drivers/block/zram/Kconfig renamed from drivers/block/zram/Kconfig~mm-kconfig-simplify-zswap-configuration +2 -1
@@ -1,8 +1,9 @@
 # SPDX-License-Identifier: GPL-2.0
 config ZRAM
 	tristate "Compressed RAM block device support"
-	depends on BLOCK && SYSFS && ZSMALLOC && CRYPTO
+	depends on BLOCK && SYSFS
 	depends on CRYPTO_LZO || CRYPTO_ZSTD || CRYPTO_LZ4 || CRYPTO_LZ4HC || CRYPTO_842
+	select ZSMALLOC
 	help
 	  Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
 	  Pages written to these disks are compressed and stored in memory
mm/Kconfig renamed from mm/Kconfig~mm-kconfig-simplify-zswap-configuration +25 -30

103 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

revert-mm-vmscan-never-demote-for-memcg-reclaim.patch