Sync with Arch
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
parent
e3b3c2aba3
commit
027ddeb8f9
1 changed files with 5 additions and 2 deletions
7
PKGBUILD
7
PKGBUILD
|
@ -18,6 +18,7 @@ _cachy_config=${_cachy_config-y}
|
||||||
# 'tt' - select 'Task Type Scheduler by Hamad Marri'
|
# 'tt' - select 'Task Type Scheduler by Hamad Marri'
|
||||||
# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler
|
# '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
|
# 'cachyos' - select 'EEVDF-BORE Variant Scheduler' EEVDF includes latency nice
|
||||||
|
# 'eevdf' - select 'EEVDF Scheduler' EEVDF includes latency nice
|
||||||
_cpusched=${_cpusched-cachyos}
|
_cpusched=${_cpusched-cachyos}
|
||||||
|
|
||||||
## Apply some suggested sysctl values from the bore developer
|
## 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."
|
# "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."
|
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
|
||||||
# "none: disable LTO
|
# "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
|
# Use suffix -lto only when requested by the user
|
||||||
# Enabled by default.
|
# Enabled by default.
|
||||||
|
@ -222,6 +223,8 @@ case "$_cpusched" in
|
||||||
cachyos) # CachyOS Scheduler (EEVDF + BORE)
|
cachyos) # CachyOS Scheduler (EEVDF + BORE)
|
||||||
source+=("${_patchsource}/sched/0001-EEVDF.patch"
|
source+=("${_patchsource}/sched/0001-EEVDF.patch"
|
||||||
"${_patchsource}/sched/0001-bore-eevdf.patch");;
|
"${_patchsource}/sched/0001-bore-eevdf.patch");;
|
||||||
|
eevdf) # EEVDF Scheduler
|
||||||
|
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
|
||||||
pds|bmq) # BMQ/PDS scheduler
|
pds|bmq) # BMQ/PDS scheduler
|
||||||
source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
|
source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
|
||||||
linux-cachyos-prjc.install);;
|
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;;
|
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;;
|
tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;
|
||||||
bore|hardened|cachyos) scripts/config -e SCHED_BORE;;
|
bore|hardened|cachyos) scripts/config -e SCHED_BORE;;
|
||||||
cfs) ;;
|
cfs|eevdf) ;;
|
||||||
*) _die "The value $_cpusched is invalid. Choose the correct one again.";;
|
*) _die "The value $_cpusched is invalid. Choose the correct one again.";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue