From 2db71c5777a1759db23c07a1d3e05b12b7277c3a Mon Sep 17 00:00:00 2001 From: Jan Alexander Steffens Date: Sat, 6 Aug 2022 22:11:33 +0000 Subject: [PATCH] Enable NO_HZ_FULL There is reportedly no (longer) significant overhead to this when it is not enabled at runtime, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804857#66 --- PKGBUILD | 2 +- config | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index fb5927a..a322074 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -26,7 +26,7 @@ validpgpkeys=( 'C7E7849466FE2358343588377258734B41C31549' # David Runge ) sha256sums=('SKIP' - '56f2ea68ac9cd69bf3801a61535e4007a77f2f4909e8004278905900822aae9b') + 'ea77dc152e52065bd760956800c9dffa5f4600429c7a94c3f12d73abd34aa408') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase diff --git a/config b/config index fdc1001..ae940b8 100644 --- a/config +++ b/config @@ -101,8 +101,10 @@ CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y CONFIG_TICK_ONESHOT=y CONFIG_NO_HZ_COMMON=y # CONFIG_HZ_PERIODIC is not set -CONFIG_NO_HZ_IDLE=y -# CONFIG_NO_HZ_FULL is not set +# CONFIG_NO_HZ_IDLE is not set +CONFIG_NO_HZ_FULL=y +CONFIG_CONTEXT_TRACKING=y +# CONFIG_CONTEXT_TRACKING_FORCE is not set CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US=100 @@ -138,8 +140,8 @@ CONFIG_SCHED_CORE=y # # CPU/Task time and stats accounting # -CONFIG_TICK_CPU_ACCOUNTING=y -# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set +CONFIG_VIRT_CPU_ACCOUNTING=y +CONFIG_VIRT_CPU_ACCOUNTING_GEN=y CONFIG_IRQ_TIME_ACCOUNTING=y CONFIG_HAVE_SCHED_AVG_IRQ=y CONFIG_BSD_PROCESS_ACCT=y @@ -176,7 +178,7 @@ CONFIG_RCU_FANOUT_LEAF=16 CONFIG_RCU_BOOST=y CONFIG_RCU_BOOST_DELAY=500 # CONFIG_RCU_EXP_KTHREAD is not set -# CONFIG_RCU_NOCB_CPU is not set +CONFIG_RCU_NOCB_CPU=y # CONFIG_TASKS_TRACE_RCU_READ_MB is not set # end of RCU Subsystem