preempt_rt: Allow BORE cpusched on compatible kernels
It's a pretty minor CFS mod, should work 🐸
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user