Re: [PATCH] sched/core: Report failed rt migrations to non-root cgroup without rt bandwidth under RT_GROUP_SCHED

From: Michal Koutný

Date: Wed Sep 17 2025 - 05:37:49 EST


On Tue, Sep 16, 2025 at 12:57:04PM -0400, Aaron Tomlin <atomlin@xxxxxxxxxxx> wrote:
> I see. If I understand correctly, in this context, are you suggesting to
> modify the identified task's scheduling class (e.g. to SCHED_NORMAL) so the
> CPU controller can be enabled?

So I'd primarily suggest you to disable CONFIG_RT_GROUP_SCHED. It seems
you ran into a situation where you have kernel with
CONFIG_RT_GROUP_SCHED but userspace that'd like to use cgroup v2 and
these two are known not get well along. (Alternatively, you may switch
userspace to v1 if you really really need RT groups.)

Michal

Attachment: signature.asc
Description: PGP signature