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 Dec 30, 2024
1 parent 225d811 commit 26dacdc
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 @@ -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}

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

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

0 comments on commit 26dacdc

Please sign in to comment.