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

From: Michal Koutný

Date: Tue Sep 16 2025 - 05:10:00 EST


On Mon, Sep 15, 2025 at 09:11:46PM -0400, Aaron Tomlin <atomlin@xxxxxxxxxxx> wrote:
> Following on from commit c7461cca91 ("cgroup, docs: Be explicit about
> independence of RT_GROUP_SCHED and non-cpu controllers"), this patch
> introduces an explicit error message that informs the user why the
> task migration failed. Now user-mode has a clear and actionable reason
> for the failure, greatly assisting with debugging.

The action in this case should be to assign non-trivial quota to target
task_group (or un-rt the task), no?

What setup do you envision for this message? (CONFIG_RT_GROUP_SCHED and
cgroup v2?)

Thanks,
Michal

Attachment: signature.asc
Description: PGP signature