From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 09/13] kernel: Enable frontswap Date: Fri, 17 Sep 2021 11:42:25 +0000 Message-ID: <20210917114229.10704-9-michael.tremer@ipfire.org> In-Reply-To: <20210917114229.10704-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4320799968870829040==" List-Id: --===============4320799968870829040== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable "Frontswap provides a =E2=80=9Ctranscendent memory=E2=80=9D interface for swa= p pages. In some environments, dramatic performance savings may be obtained because swapped pages are saved in RAM (or a RAM-like device) instead of a swap disk." https://www.kernel.org/doc/html/latest/vm/frontswap.html Signed-off-by: Michael Tremer --- config/kernel/kernel.config.aarch64-ipfire | 3 ++- config/kernel/kernel.config.armv6l-ipfire | 3 ++- config/kernel/kernel.config.i586-ipfire | 3 ++- config/kernel/kernel.config.x86_64-ipfire | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kerne= l.config.aarch64-ipfire index 15f8cfc6b..a59fecaea 100644 --- a/config/kernel/kernel.config.aarch64-ipfire +++ b/config/kernel/kernel.config.aarch64-ipfire @@ -956,11 +956,12 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=3Dy # CONFIG_MEMORY_FAILURE is not set # CONFIG_TRANSPARENT_HUGEPAGE is not set CONFIG_CLEANCACHE=3Dy -# CONFIG_FRONTSWAP is not set +CONFIG_FRONTSWAP=3Dy CONFIG_CMA=3Dy # CONFIG_CMA_DEBUG is not set # CONFIG_CMA_DEBUGFS is not set CONFIG_CMA_AREAS=3D7 +# CONFIG_ZSWAP is not set # CONFIG_ZPOOL is not set # CONFIG_ZBUD is not set # CONFIG_ZSMALLOC is not set diff --git a/config/kernel/kernel.config.armv6l-ipfire b/config/kernel/kernel= .config.armv6l-ipfire index fc309c9b3..dc8d3a6b9 100644 --- a/config/kernel/kernel.config.armv6l-ipfire +++ b/config/kernel/kernel.config.armv6l-ipfire @@ -964,11 +964,12 @@ CONFIG_BOUNCE=3Dy CONFIG_KSM=3Dy CONFIG_DEFAULT_MMAP_MIN_ADDR=3D65536 CONFIG_CLEANCACHE=3Dy -# CONFIG_FRONTSWAP is not set +CONFIG_FRONTSWAP=3Dy CONFIG_CMA=3Dy # CONFIG_CMA_DEBUG is not set # CONFIG_CMA_DEBUGFS is not set CONFIG_CMA_AREAS=3D7 +# CONFIG_ZSWAP is not set # CONFIG_ZPOOL is not set # CONFIG_ZBUD is not set # CONFIG_ZSMALLOC is not set diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.c= onfig.i586-ipfire index 08df3d656..90d4ac856 100644 --- a/config/kernel/kernel.config.i586-ipfire +++ b/config/kernel/kernel.config.i586-ipfire @@ -950,8 +950,9 @@ CONFIG_TRANSPARENT_HUGEPAGE=3Dy CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=3Dy # CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set CONFIG_CLEANCACHE=3Dy -# CONFIG_FRONTSWAP is not set +CONFIG_FRONTSWAP=3Dy # CONFIG_CMA is not set +# CONFIG_ZSWAP is not set # CONFIG_ZPOOL is not set # CONFIG_ZBUD is not set # CONFIG_ZSMALLOC is not set diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel= .config.x86_64-ipfire index 5f8711ac4..29fc30274 100644 --- a/config/kernel/kernel.config.x86_64-ipfire +++ b/config/kernel/kernel.config.x86_64-ipfire @@ -950,8 +950,9 @@ CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=3Dy CONFIG_ARCH_WANTS_THP_SWAP=3Dy CONFIG_THP_SWAP=3Dy CONFIG_CLEANCACHE=3Dy -# CONFIG_FRONTSWAP is not set +CONFIG_FRONTSWAP=3Dy # CONFIG_CMA is not set +# CONFIG_ZSWAP is not set # CONFIG_ZPOOL is not set # CONFIG_ZBUD is not set # CONFIG_ZSMALLOC is not set --=20 2.20.1 --===============4320799968870829040==--