[tip: sched/core] sched/rt: Update default bandwidth for real-time tasks to ONE

tip-bot2 for Yuri Andriaccio posted 1 patch 4 days, 14 hours ago
kernel/sched/rt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[tip: sched/core] sched/rt: Update default bandwidth for real-time tasks to ONE
Posted by tip-bot2 for Yuri Andriaccio 4 days, 14 hours ago
The following commit has been merged into the sched/core branch of tip:

Commit-ID:     c2e390197ad1360db6686a8c89abaafaf83adf72
Gitweb:        https://git.kernel.org/tip/c2e390197ad1360db6686a8c89abaafaf83adf72
Author:        Yuri Andriaccio <yurand2000@gmail.com>
AuthorDate:    Thu, 30 Apr 2026 23:38:25 +02:00
Committer:     Peter Zijlstra <peterz@infradead.org>
CommitterDate: Tue, 19 May 2026 12:17:35 +02:00

sched/rt: Update default bandwidth for real-time tasks to ONE

Set the default total bandwidth for SCHED_DEADLINE tasks and servers
to ONE.  FIFO/RR tasks are already throttled by fair-servers and
ext-servers, and the sysctl_sched_rt_runtime parameter now only
defines the total bw that is allowed to deadline entities.

Signed-off-by: Yuri Andriaccio <yurand2000@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260430213835.62217-22-yurand2000@gmail.com
---
 kernel/sched/rt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 4ee8faf..e6ea728 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -19,9 +19,9 @@ int sysctl_sched_rt_period = 1000000;
 
 /*
  * part of the period that we allow rt tasks to run in us.
- * default: 0.95s
+ * default: 1s
  */
-int sysctl_sched_rt_runtime = 950000;
+int sysctl_sched_rt_runtime = 1000000;
 
 #ifdef CONFIG_SYSCTL
 static int sysctl_sched_rr_timeslice = (MSEC_PER_SEC * RR_TIMESLICE) / HZ;