diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 518f38d..5941e3c 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -1002,14 +1002,7 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n fi # voluntary preempt - if [ -z "$_voluntary_preempt" ]; then - plain "" - plain "Use explicit preemption points?" - plain "It can improve latency on PDS (at the cost of throughput)" - plain "and improve throughput on other schedulers (at the cost of latency)" - read -rp "`echo $' > N/y : '`" CONDITION5; - fi - if [[ "$CONDITION5" =~ [yY] ]] || [ "$_voluntary_preempt" = "true" ]; then + if [ "$_voluntary_preempt" = "true" ]; then sed -i -e 's/CONFIG_PREEMPT=y/# CONFIG_PREEMPT is not set/' ./.config sed -i -e 's/CONFIG_PREEMPT_LL=y/# CONFIG_PREEMPT_LL is not set/' ./.config sed -i -e 's/# CONFIG_PREEMPT_VOLUNTARY is not set/CONFIG_PREEMPT_VOLUNTARY=y/' ./.config