From 15c09c660c312ad85328ac5d1830479a5b93c31f Mon Sep 17 00:00:00 2001 From: Piotr Gorski Date: Wed, 28 Sep 2022 01:18:37 +0200 Subject: [PATCH] Improve nest and latency nice flags Signed-off-by: Piotr Gorski --- PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index ca3af79..68d0bbc 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -272,11 +272,15 @@ if [ -n "$_bcachefs" ]; then fi ## NEST Support if [ -n "$_nest" ]; then + if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then source+=("${_patchsource}/sched/0001-NEST.patch") + fi fi ## Latency NICE Support if [ -n "$_latency_nice" ]; then + if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch") + fi fi export KBUILD_BUILD_HOST=cachyos