From 91adc26f51b92bf7a67a8f6bea9d9ac608e57fc8 Mon Sep 17 00:00:00 2001 From: Newbyte Date: Sun, 14 May 2023 10:24:43 +0200 Subject: [PATCH] linux-purism-librem5: enable lazy RCU (MR 4080) See https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2220 [ci:skip-build]: Already built successfully in CI --- device/main/linux-purism-librem5/APKBUILD | 2 +- .../config-purism-librem5.aarch64 | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/device/main/linux-purism-librem5/APKBUILD b/device/main/linux-purism-librem5/APKBUILD index 586afdd3c..f4e5e8f31 100644 --- a/device/main/linux-purism-librem5/APKBUILD +++ b/device/main/linux-purism-librem5/APKBUILD @@ -84,5 +84,5 @@ package() { sha512sums=" 053419a2e22bfd4748a5e228c7495b37074603a1fba14594c8640e391203055c80e0228e32c7281a25664193b98f50a837c5503194a47e8a236fddd3b49f30b0 linux-purism-librem5-6.3.1pureos1.tar.gz -a652445ef91e695c71cf0a8742aa2d03a5fbe2fd986eb3fd63fe9b1ddc2d0c4a5f97ef7d1e3228caa69ec5473c5af118ff07a6e4937f7c087371357bc9a02618 config-purism-librem5.aarch64 +2754acf73a3d1a0294cf84e5768027d036f5a65fb42b2cf3c114cddeadd4dec449cbb205fa6cae1646a49ea819dd90a79a532cab54e900755ee5270c584e3d5f config-purism-librem5.aarch64 " diff --git a/device/main/linux-purism-librem5/config-purism-librem5.aarch64 b/device/main/linux-purism-librem5/config-purism-librem5.aarch64 index ca7c46007..db993eeec 100644 --- a/device/main/linux-purism-librem5/config-purism-librem5.aarch64 +++ b/device/main/linux-purism-librem5/config-purism-librem5.aarch64 @@ -133,15 +133,25 @@ CONFIG_CPU_ISOLATION=y # CONFIG_TREE_RCU=y CONFIG_PREEMPT_RCU=y -# CONFIG_RCU_EXPERT is not set +CONFIG_RCU_EXPERT=y CONFIG_SRCU=y CONFIG_TREE_SRCU=y CONFIG_TASKS_RCU_GENERIC=y +# CONFIG_FORCE_TASKS_RCU is not set CONFIG_TASKS_RCU=y +# CONFIG_FORCE_TASKS_RUDE_RCU is not set CONFIG_TASKS_RUDE_RCU=y +# CONFIG_FORCE_TASKS_TRACE_RCU is not set CONFIG_TASKS_TRACE_RCU=y CONFIG_RCU_STALL_COMMON=y CONFIG_RCU_NEED_SEGCBLIST=y +CONFIG_RCU_FANOUT=64 +CONFIG_RCU_FANOUT_LEAF=16 +# CONFIG_RCU_BOOST is not set +CONFIG_RCU_NOCB_CPU=y +# CONFIG_RCU_NOCB_CPU_DEFAULT_ALL is not set +# CONFIG_TASKS_TRACE_RCU_READ_MB is not set +CONFIG_RCU_LAZY=y # end of RCU Subsystem CONFIG_IKCONFIG=y