]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched: Add RT_GROUP WARN checks for non-root task_groups
authorMichal Koutný <mkoutny@suse.com>
Mon, 10 Mar 2025 17:04:40 +0000 (18:04 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 8 Apr 2025 18:55:54 +0000 (20:55 +0200)
commit87f1fb77d87a6dac9968a321bb10799ae6d2039c
treed8d3d11a643117610c6d9b8585de517182f9b9f1
parentd6809c2f606c14f9e95be87d75a576901d2fa050
sched: Add RT_GROUP WARN checks for non-root task_groups

With CONFIG_RT_GROUP_SCHED but runtime disabling of RT_GROUPs we expect
the existence of the root task_group only and all rt_sched_entity'ies
should be queued on root's rt_rq.

If we get a non-root RT_GROUP something went wrong.

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250310170442.504716-9-mkoutny@suse.com
kernel/sched/rt.c