From: Mete Durlu Date: Wed, 5 Nov 2025 11:15:34 +0000 (+0100) Subject: s390/hiperdispatch: Decrease steal time threshold X-Git-Tag: v6.19-rc1~206^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8840cc45209b3224cb17a44c0ff4f95760baf761;p=thirdparty%2Flinux.git s390/hiperdispatch: Decrease steal time threshold Higher steal time thresholds favor low utilization scenarios, which is not the common case for s390. Set steal time threshold to a lower value to prioritize vertical high and medium CPUs sooner and allow high utilization scenarios to benefit from it. Suggested-by: Christian Borntraeger Signed-off-by: Mete Durlu Acked-by: Christian Borntraeger Signed-off-by: Heiko Carstens --- diff --git a/arch/s390/kernel/hiperdispatch.c b/arch/s390/kernel/hiperdispatch.c index 2507bc3f77574..7ad134cc9ad33 100644 --- a/arch/s390/kernel/hiperdispatch.c +++ b/arch/s390/kernel/hiperdispatch.c @@ -65,7 +65,7 @@ #define HD_DELAY_FACTOR (4) #define HD_DELAY_INTERVAL (HZ / 4) -#define HD_STEAL_THRESHOLD 30 +#define HD_STEAL_THRESHOLD 10 #define HD_STEAL_AVG_WEIGHT 16 static cpumask_t hd_vl_coremask; /* Mask containing all vertical low COREs */