preempt_rt: Allow BORE cpusched on compatible kernels

It's a pretty minor CFS mod, should work 🐸
This commit is contained in:
Tk-Glitch
2022-11-05 17:57:51 +01:00
parent 4201196110
commit f79f7ddb8e

View File

@@ -285,7 +285,11 @@ _set_cpu_scheduler() {
fi fi
if [ "${_preempt_rt}" = "1" ]; then if [ "${_preempt_rt}" = "1" ]; then
_avail_cpu_scheds=("cfs") if [[ "${_avail_cpu_scheds[*]}" =~ "bore" ]]; then
_avail_cpu_scheds=("cfs" "bore")
else
_avail_cpu_scheds=("cfs")
fi
fi fi
# Populate descriptions of the available CPU schedulers # Populate descriptions of the available CPU schedulers