From f79f7ddb8e3962cbacf12f26997d3747d0a583c4 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Sat, 5 Nov 2022 17:57:51 +0100 Subject: [PATCH] preempt_rt: Allow BORE cpusched on compatible kernels It's a pretty minor CFS mod, should work :frog: --- linux-tkg-config/prepare | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index b7c66b6..6411952 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -285,7 +285,11 @@ _set_cpu_scheduler() { fi 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 # Populate descriptions of the available CPU schedulers