Skip to content

Commit 3f2d3f9

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 <[email protected]>
1 parent 976c5ad commit 3f2d3f9

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
@@ -17,6 +17,7 @@ _cachy_config=${_cachy_config-y}
1717
# 'bmq' - select 'BMQ Scheduler'
1818
# 'cachyos' - select 'CachyOS Default Scheduler (BORE)'
1919
# 'eevdf' - select 'EEVDF Scheduler'
20+
# 'pds' - select 'PDS scheduler'
2021
# 'rt' - select EEVDF, but includes a series of realtime patches
2122
# 'rt-bore' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches
2223
_cpusched=${_cpusched-cachyos}
@@ -264,7 +265,7 @@ fi
264265
case "$_cpusched" in
265266
cachyos|bore|rt-bore) # CachyOS Scheduler (BORE)
266267
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;&
267-
bmq) ## Project C Scheduler
268+
bmq|pds) ## Project C Scheduler
268269
source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
269270
esac
270271

@@ -328,6 +329,7 @@ prepare() {
328329
case "$_cpusched" in
329330
cachyos|bore) scripts/config -e SCHED_BORE;;
330331
bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ;;
332+
pds) scripts/config -e SCHED_ALT -e SCHED_PDS;;
331333
eevdf) ;;
332334
rt) scripts/config -d PREEMPT -e PREEMPT_RT;;
333335
rt-bore) scripts/config -e SCHED_BORE -d PREEMPT -e PREEMPT_RT;;

0 commit comments

Comments
 (0)