Sync with Arch
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
parent
e3b3c2aba3
commit
027ddeb8f9
7
PKGBUILD
7
PKGBUILD
@ -18,6 +18,7 @@ _cachy_config=${_cachy_config-y}
|
||||
# 'tt' - select 'Task Type Scheduler by Hamad Marri'
|
||||
# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler
|
||||
# 'cachyos' - select 'EEVDF-BORE Variant Scheduler' EEVDF includes latency nice
|
||||
# 'eevdf' - select 'EEVDF Scheduler' EEVDF includes latency nice
|
||||
_cpusched=${_cpusched-cachyos}
|
||||
|
||||
## Apply some suggested sysctl values from the bore developer
|
||||
@ -147,7 +148,7 @@ _zstd_level_value=${_zstd_level_value-normal}
|
||||
# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."
|
||||
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
|
||||
# "none: disable LTO
|
||||
_use_llvm_lto=${_use_llvm_lto-}
|
||||
_use_llvm_lto=${_use_llvm_lto-none}
|
||||
|
||||
# Use suffix -lto only when requested by the user
|
||||
# Enabled by default.
|
||||
@ -222,6 +223,8 @@ case "$_cpusched" in
|
||||
cachyos) # CachyOS Scheduler (EEVDF + BORE)
|
||||
source+=("${_patchsource}/sched/0001-EEVDF.patch"
|
||||
"${_patchsource}/sched/0001-bore-eevdf.patch");;
|
||||
eevdf) # EEVDF Scheduler
|
||||
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
|
||||
pds|bmq) # BMQ/PDS scheduler
|
||||
source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
|
||||
linux-cachyos-prjc.install);;
|
||||
@ -305,7 +308,7 @@ prepare() {
|
||||
bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;
|
||||
tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;
|
||||
bore|hardened|cachyos) scripts/config -e SCHED_BORE;;
|
||||
cfs) ;;
|
||||
cfs|eevdf) ;;
|
||||
*) _die "The value $_cpusched is invalid. Choose the correct one again.";;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user