From 5ffc714479422de89283c1a9032c66cbfc91990f Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Sun, 7 Aug 2022 22:14:33 +0200 Subject: [PATCH] Silence CPU_ACCOUNTING prompt --- linux-tkg-config/prepare | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 6298e3e..db7647a 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -1138,14 +1138,14 @@ _tkg_srcprep() { _tickless="${_selected_index}" fi if [ "$_tickless" = "0" ]; then - _disable "NO_HZ_FULL_NODEF" "NO_HZ_IDLE" "NO_HZ_FULL" "NO_HZ" "NO_HZ_COMMON" - _enable "HZ_PERIODIC" + _disable "NO_HZ_FULL_NODEF" "NO_HZ_IDLE" "NO_HZ_FULL" "NO_HZ" "NO_HZ_COMMON" "VIRT_CPU_ACCOUNTING_GEN" + _enable "HZ_PERIODIC" "TICK_CPU_ACCOUNTING" elif [ "$_tickless" = "1" ]; then - _disable "HZ_PERIODIC" "NO_HZ_IDLE" "CONTEXT_TRACKING_FORCE" - _enable "NO_HZ_FULL_NODEF" "NO_HZ_FULL" "NO_HZ" "NO_HZ_COMMON" "CONTEXT_TRACKING" + _disable "HZ_PERIODIC" "NO_HZ_IDLE" "CONTEXT_TRACKING_FORCE" "TICK_CPU_ACCOUNTING" + _enable "NO_HZ_FULL_NODEF" "NO_HZ_FULL" "NO_HZ" "NO_HZ_COMMON" "CONTEXT_TRACKING" "VIRT_CPU_ACCOUNTING_GEN" else - _disable "NO_HZ_FULL_NODEF" "HZ_PERIODIC" "NO_HZ_FULL" - _enable "NO_HZ_IDLE" "NO_HZ" "NO_HZ_COMMON" + _disable "NO_HZ_FULL_NODEF" "HZ_PERIODIC" "NO_HZ_FULL" "TICK_CPU_ACCOUNTING" + _enable "NO_HZ_IDLE" "NO_HZ" "NO_HZ_COMMON" "VIRT_CPU_ACCOUNTING_GEN" fi # acs override