From 3f2d3f970a7e0ac3f8f04db8556e2501c726d14a Mon Sep 17 00:00:00 2001 From: Eric Naim Date: Mon, 30 Dec 2024 19:25:15 +0700 Subject: [PATCH] PKGBUILD: Add the PDS scheduler to $_cpusched This provides an easier way to use the PDS scheduler along with the CachyOS patchset. While it is very likely that we will not compile this for our repositories, it can be useful for the users that care about PDS. Signed-off-by: Eric Naim --- linux-cachyos-rc/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD index 66f10926..adcd7021 100644 --- a/linux-cachyos-rc/PKGBUILD +++ b/linux-cachyos-rc/PKGBUILD @@ -17,6 +17,7 @@ _cachy_config=${_cachy_config-y} # 'bmq' - select 'BMQ Scheduler' # 'cachyos' - select 'CachyOS Default Scheduler (BORE)' # 'eevdf' - select 'EEVDF Scheduler' +# 'pds' - select 'PDS scheduler' # 'rt' - select EEVDF, but includes a series of realtime patches # 'rt-bore' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches _cpusched=${_cpusched-cachyos} @@ -264,7 +265,7 @@ fi case "$_cpusched" in cachyos|bore|rt-bore) # CachyOS Scheduler (BORE) source+=("${_patchsource}/sched/0001-bore-cachy.patch");;& - bmq) ## Project C Scheduler + bmq|pds) ## Project C Scheduler source+=("${_patchsource}/sched/0001-prjc-cachy.patch");; esac @@ -328,6 +329,7 @@ prepare() { case "$_cpusched" in cachyos|bore) scripts/config -e SCHED_BORE;; bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ;; + pds) scripts/config -e SCHED_ALT -e SCHED_PDS;; eevdf) ;; rt) scripts/config -d PREEMPT -e PREEMPT_RT;; rt-bore) scripts/config -e SCHED_BORE -d PREEMPT -e PREEMPT_RT;;