Re: [RFC PATCH v2 04/25] sched/rt: Pass an rt_rq instead of an rq where needed

From: Juri Lelli
Date: Thu Aug 14 2025 - 04:46:50 EST


Hi!

On 31/07/25 12:55, Yuri Andriaccio wrote:

...

> @@ -383,7 +383,7 @@ static void pull_rt_task(struct rq *);
>
> static inline void rt_queue_push_tasks(struct rq *rq)

Can't the above also take an rt_rq?

> {
> - if (!has_pushable_tasks(rq))
> + if (!has_pushable_tasks(&rq->rt))
> return;
>
> queue_balance_callback(rq, &per_cpu(rt_push_head, rq->cpu), push_rt_tasks);

Thanks,
Juri