Skip to content

Commit

Permalink
PKGBUILD: Add the PDS scheduler to $_cpusched
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
1Naim committed Jan 15, 2025
1 parent 976c5ad commit 3f2d3f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion linux-cachyos-rc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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;;
Expand Down

0 comments on commit 3f2d3f9

Please sign in to comment.