Link: https://patch.msgid.link/20260323-sched-rert_groups-v3-1-1e7d5ed6b249@suse.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- kernel/sched/rt.c | 5 ++---
+ kernel/sched/rt.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
-diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
-index 8cead8f37aa50..156824baef613 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
-@@ -2677,9 +2677,6 @@ static int tg_rt_schedulable(struct task_group *tg, void *data)
+@@ -2668,9 +2668,6 @@ static int tg_rt_schedulable(struct task
tg->rt_bandwidth.rt_runtime && tg_has_rt_tasks(tg))
return -EBUSY;
total = to_ratio(period, runtime);
/*
-@@ -2823,6 +2820,8 @@ long sched_group_rt_period(struct task_group *tg)
+@@ -2814,6 +2811,8 @@ long sched_group_rt_period(struct task_g
static int sched_rt_global_constraints(void)
{
int ret = 0;
mutex_lock(&rt_constraints_mutex);
ret = __rt_schedulable(NULL, 0, 0);
---
-2.53.0
-
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- tools/tracing/rtla/src/utils.c | 11 ++++++-----
+ tools/tracing/rtla/src/utils.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
-diff --git a/tools/tracing/rtla/src/utils.c b/tools/tracing/rtla/src/utils.c
-index 22d2182c729e5..53e45eabae03c 100644
--- a/tools/tracing/rtla/src/utils.c
+++ b/tools/tracing/rtla/src/utils.c
-@@ -360,22 +360,23 @@ int set_comm_sched_attr(const char *comm_prefix, struct sched_attr *attr)
+@@ -361,22 +361,23 @@ int set_comm_sched_attr(const char *comm
if (strtoi(proc_entry->d_name, &pid)) {
err_msg("'%s' is not a valid pid", proc_entry->d_name);
}
#define INVALID_VAL (~0L)
---
-2.53.0
-