From 26dacdcfbfadffca55d16643695d695268e5ca5f 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 db327fb0..099e222e 100644 --- a/linux-cachyos-rc/PKGBUILD +++ b/linux-cachyos-rc/PKGBUILD @@ -15,6 +15,7 @@ _cachy_config=${_cachy_config-y} # ATTENTION - only one of the following values can be selected: # 'bore' - select 'Burst-Oriented Response Enhancer' # 'bmq' - select 'BMQ Scheduler' +# 'pds' - select 'PDS scheduler' # 'eevdf' - select 'EEVDF Scheduler' _cpusched=${_cpusched-bore} @@ -263,7 +264,7 @@ fi case "$_cpusched" in 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 @@ -327,6 +328,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) ;; *) _die "The value $_cpusched is invalid. Choose the correct one again.";; esac