From 3842a5fd6ffde3208b5a2ba21b90b35aaeb33b2f Mon Sep 17 00:00:00 2001 From: "Alexander M. Merritt" Date: Thu, 15 Oct 2026 10:51:44 -0500 Subject: [PATCH] feat(host): turn zswap off by default Protect adds zram swap to Xen dom0 only while zswap is off, because zram under zswap would hold the pages zswap writes out to free memory. zswap stays built in for hosts that boot with zswap.enabled=1. Signed-off-by: Alexander M. Merritt --- configs/aarch64/host.config | 2 +- configs/x86_64/host.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/aarch64/host.config b/configs/aarch64/host.config index 473f143..2aa8620 100644 --- a/configs/aarch64/host.config +++ b/configs/aarch64/host.config @@ -528,7 +528,7 @@ CONFIG_COREDUMP=y CONFIG_ZPOOL=y CONFIG_SWAP=y CONFIG_ZSWAP=y -CONFIG_ZSWAP_DEFAULT_ON=y +CONFIG_ZSWAP_DEFAULT_ON=n CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lzo" CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y diff --git a/configs/x86_64/host.config b/configs/x86_64/host.config index 77cf163..c408e2c 100644 --- a/configs/x86_64/host.config +++ b/configs/x86_64/host.config @@ -558,7 +558,7 @@ CONFIG_COREDUMP=y CONFIG_ZPOOL=y CONFIG_SWAP=y CONFIG_ZSWAP=y -CONFIG_ZSWAP_DEFAULT_ON=y +CONFIG_ZSWAP_DEFAULT_ON=n CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lzo" CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y