Silence CPU_ACCOUNTING prompt
This commit is contained in:
@@ -1138,14 +1138,14 @@ _tkg_srcprep() {
|
|||||||
_tickless="${_selected_index}"
|
_tickless="${_selected_index}"
|
||||||
fi
|
fi
|
||||||
if [ "$_tickless" = "0" ]; then
|
if [ "$_tickless" = "0" ]; then
|
||||||
_disable "NO_HZ_FULL_NODEF" "NO_HZ_IDLE" "NO_HZ_FULL" "NO_HZ" "NO_HZ_COMMON"
|
_disable "NO_HZ_FULL_NODEF" "NO_HZ_IDLE" "NO_HZ_FULL" "NO_HZ" "NO_HZ_COMMON" "VIRT_CPU_ACCOUNTING_GEN"
|
||||||
_enable "HZ_PERIODIC"
|
_enable "HZ_PERIODIC" "TICK_CPU_ACCOUNTING"
|
||||||
elif [ "$_tickless" = "1" ]; then
|
elif [ "$_tickless" = "1" ]; then
|
||||||
_disable "HZ_PERIODIC" "NO_HZ_IDLE" "CONTEXT_TRACKING_FORCE"
|
_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"
|
_enable "NO_HZ_FULL_NODEF" "NO_HZ_FULL" "NO_HZ" "NO_HZ_COMMON" "CONTEXT_TRACKING" "VIRT_CPU_ACCOUNTING_GEN"
|
||||||
else
|
else
|
||||||
_disable "NO_HZ_FULL_NODEF" "HZ_PERIODIC" "NO_HZ_FULL"
|
_disable "NO_HZ_FULL_NODEF" "HZ_PERIODIC" "NO_HZ_FULL" "TICK_CPU_ACCOUNTING"
|
||||||
_enable "NO_HZ_IDLE" "NO_HZ" "NO_HZ_COMMON"
|
_enable "NO_HZ_IDLE" "NO_HZ" "NO_HZ_COMMON" "VIRT_CPU_ACCOUNTING_GEN"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# acs override
|
# acs override
|
||||||
|
Reference in New Issue
Block a user