Skip to content

Commit 923c329

Browse files
committed
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 <dnaim@cachyos.org>
1 parent 6b48da6 commit 923c329

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

linux-cachyos-rc/PKGBUILD

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ _cachy_config=${_cachy_config-y}
1515
# ATTENTION - only one of the following values can be selected:
1616
# 'bore' - select 'Burst-Oriented Response Enhancer'
1717
# 'bmq' - select 'BMQ Scheduler'
18+
# 'pds' - select 'PDS scheduler'
1819
# 'eevdf' - select 'EEVDF Scheduler'
1920
_cpusched=${_cpusched-bore}
2021

@@ -263,7 +264,7 @@ fi
263264
case "$_cpusched" in
264265
bore) # CachyOS Scheduler (BORE)
265266
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
266-
bmq) ## Project C Scheduler
267+
bmq|pds) ## Project C Scheduler
267268
source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
268269
esac
269270

@@ -327,6 +328,7 @@ prepare() {
327328
case "$_cpusched" in
328329
bore) scripts/config -e SCHED_BORE;;
329330
bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ;;
331+
pds) scripts/config -e SCHED_ALT -e SCHED_PDS;;
330332
eevdf) ;;
331333
*) _die "The value $_cpusched is invalid. Choose the correct one again.";;
332334
esac

0 commit comments

Comments
 (0)