From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH 09/13] kernel: Enable frontswap Date: Sat, 18 Sep 2021 16:20:47 +0000 Message-ID: <16f8f3a3-b897-c819-c7a8-4ba1419dbb8f@ipfire.org> In-Reply-To: <20210917114229.10704-9-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6998389431671606114==" List-Id: --===============6998389431671606114== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Acked-by: Peter M=C3=BCller > "Frontswap provides a =E2=80=9Ctranscendent memory=E2=80=9D interface for s= wap 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." >=20 > https://www.kernel.org/doc/html/latest/vm/frontswap.html >=20 > 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(-) >=20 > diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/ker= nel.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/kern= el.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= .config.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/kern= el.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 --===============6998389431671606114==--