Commit 87f1fb7
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.com1 parent d6809c2 commit 87f1fb7
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
183 | 185 | | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
189 | 192 | | |
190 | 193 | | |
| 194 | + | |
191 | 195 | | |
192 | 196 | | |
193 | 197 | | |
| |||
504 | 508 | | |
505 | 509 | | |
506 | 510 | | |
507 | | - | |
| 511 | + | |
| 512 | + | |
508 | 513 | | |
| 514 | + | |
509 | 515 | | |
510 | 516 | | |
511 | 517 | | |
| |||
2607 | 2613 | | |
2608 | 2614 | | |
2609 | 2615 | | |
2610 | | - | |
| 2616 | + | |
2611 | 2617 | | |
| 2618 | + | |
2612 | 2619 | | |
2613 | 2620 | | |
2614 | 2621 | | |
| |||
2718 | 2725 | | |
2719 | 2726 | | |
2720 | 2727 | | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
2721 | 2731 | | |
2722 | 2732 | | |
2723 | 2733 | | |
| |||
0 commit comments