From 7c7c18e40f8d5cf042c17b74de511d471bc19168 Mon Sep 17 00:00:00 2001 From: Jan Jasper de Kroon Date: Thu, 1 Dec 2022 20:42:45 +0100 Subject: [PATCH] device/main/linux-postmarketos-allwinner: Enabe LRU_GEN by default (MR 3686) MGLRU seeks to address Linux's poor page reclamation behavior with this new high performance LRU implementation to over-commit memory. MGLRU has shown to be beneficial in a variety of benchmarks especially on memory constrained systems. Some benchmarks: - https://www.phoronix.com/news/Linux-MGLRU-v9-Promising - https://www.phoronix.com/news/MGLRU-Reaches-mm-stable [ci:skip-build]: Already built successfully in CI --- device/main/linux-postmarketos-allwinner/APKBUILD | 6 +++--- .../config-postmarketos-allwinner.aarch64 | 4 +++- .../config-postmarketos-allwinner.armv7 | 4 +++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/device/main/linux-postmarketos-allwinner/APKBUILD b/device/main/linux-postmarketos-allwinner/APKBUILD index b8cba5dc5..f98ed8d14 100644 --- a/device/main/linux-postmarketos-allwinner/APKBUILD +++ b/device/main/linux-postmarketos-allwinner/APKBUILD @@ -8,7 +8,7 @@ _flavor=postmarketos-allwinner _config="config-$_flavor.$CARCH" pkgname=linux-$_flavor pkgver=6.1.0_rc7_git20221128 -pkgrel=0 +pkgrel=1 _tag="orange-pi-6.1-20221128-1027" pkgdesc="Kernel fork with Pine64 patches (megi's tree, slightly patched)" arch="aarch64 armv7" @@ -85,8 +85,8 @@ package() { sha512sums=" 5223e80d1852337e498d7ac0ce6cbf4268be8102744143499a20a51c1f40aa5daf7da3b71d6f88978f9b14efb147fbec0cf2f8b4e533a808abbff7381701da81 linux-postmarketos-allwinner-orange-pi-6.1-20221128-1027.tar.gz -c10fbaea8f108e324438ff584a640d1fa04afb3908ddf2c69aee936cc1840db12f5b9b4caff777e14cb31dd073de1f7e2fa3cecfc41c06674332e8e0d70bb6e6 config-postmarketos-allwinner.aarch64 -07256e874bbd85465d93ee4592d42fcb15174eac4cbf258dfb74a26d5c5421a4c736158b1375249ef95a9c45e1928409dace43dc501fa551421cd47525fc53fc config-postmarketos-allwinner.armv7 +81a9f3b99a49001ab191f3b94aaf7488d0be30fb08d3049d916811ac4ee1d2ed388516a966640ef5376b89696173bf8132fdf798a1fdfb0683fca48dce05c08c config-postmarketos-allwinner.aarch64 +8e15e8987ec52b3de3f618ce0cdadc5fbbf7aa1b005be1a6d1530289bcfed1ce8d4f24072b9967af09ecd68e6dba54138a64dced050c2ebc7a850a318be1fe75 config-postmarketos-allwinner.armv7 126e0a65e04f22f14eac1281a69000d9d5b107ed8fd1b52f37e812751f55e6c45b0240ceac61c9d95ae7f0543aaf9d96b85a8532baf59283c077b9945e615367 0001-dts-add-dontbeevil-pinephone-devkit.patch 1dc710f5abacdd5698169d5e985efeca8114986c774c3d65e89812d08ceb3db5ebdc6dd64dd76a262c761f3bfc3ffb6bc237fd5236bd1f89c5975d12e42eda04 0002-dts-add-pinetab-dev-old-display-panel.patch 96849f40f6defc4ad7646256814bea5ac353c4e0479fd069365ff27456d63da801541ec616f6db736d60f3134384321a9eeb5bfbd555363bf1259c8de63d17fa 0003-dts-pinetab-add-missing-bma223-ohci1.patch diff --git a/device/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 b/device/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 index 5534c4475..b8b5b0cc2 100644 --- a/device/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 +++ b/device/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 @@ -848,7 +848,9 @@ CONFIG_ARCH_HAS_PTE_SPECIAL=y CONFIG_SECRETMEM=y # CONFIG_ANON_VMA_NAME is not set # CONFIG_USERFAULTFD is not set -# CONFIG_LRU_GEN is not set +CONFIG_LRU_GEN=y +CONFIG_LRU_GEN_ENABLED=y +# CONFIG_LRU_GEN_STATS is not set # # Data Access Monitoring diff --git a/device/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.armv7 b/device/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.armv7 index 3d88afac6..7e1732b6c 100644 --- a/device/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.armv7 +++ b/device/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.armv7 @@ -772,7 +772,9 @@ CONFIG_KMAP_LOCAL=y CONFIG_KMAP_LOCAL_NON_LINEAR_PTE_ARRAY=y # CONFIG_ANON_VMA_NAME is not set # CONFIG_USERFAULTFD is not set -# CONFIG_LRU_GEN is not set +CONFIG_LRU_GEN=y +CONFIG_LRU_GEN_ENABLED=y +# CONFIG_LRU_GEN_STATS is not set # # Data Access Monitoring