From c6c477dae9cb8bcdefaf1c1a0e8869efa8bfe3f9 Mon Sep 17 00:00:00 2001 From: Yosry Ahmed Date: Wed, 5 Jun 2024 23:56:15 +0000 Subject: [PATCH] mm: zswap: set ZSWAP_NR_ZPOOLS to 1 Signed-off-by: Yosry Ahmed --- mm/zswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/zswap.c b/mm/zswap.c index a50e2986cd2fa..2bfa91518d405 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -124,7 +124,7 @@ module_param_named(accept_threshold_percent, zswap_accept_thr_percent, uint, 0644); /* Number of zpools in zswap_pool (empirically determined for scalability) */ -#define ZSWAP_NR_ZPOOLS 32 +#define ZSWAP_NR_ZPOOLS 1 /* Enable/disable memory pressure-based shrinker. */ static bool zswap_shrinker_enabled = IS_ENABLED( -- 2.45.1.467.gbab1589fc0-goog