Improve nest and latency nice flags
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
parent
1ac7a7c86d
commit
15c09c660c
1 changed files with 4 additions and 0 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -272,11 +272,15 @@ if [ -n "$_bcachefs" ]; then
|
||||||
fi
|
fi
|
||||||
## NEST Support
|
## NEST Support
|
||||||
if [ -n "$_nest" ]; then
|
if [ -n "$_nest" ]; then
|
||||||
|
if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then
|
||||||
source+=("${_patchsource}/sched/0001-NEST.patch")
|
source+=("${_patchsource}/sched/0001-NEST.patch")
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
## Latency NICE Support
|
## Latency NICE Support
|
||||||
if [ -n "$_latency_nice" ]; then
|
if [ -n "$_latency_nice" ]; then
|
||||||
|
if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then
|
||||||
source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")
|
source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export KBUILD_BUILD_HOST=cachyos
|
export KBUILD_BUILD_HOST=cachyos
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue