Re: [PATCH 07/15] sched_ext: Block proxy donors across scheduler transitions

From: Tejun Heo

Date: Mon Aug 03 2026 - 16:36:50 EST


On Tue, Jul 28, 2026 at 05:43:25PM +0200, Andrea Righi wrote:
...
> +static void prepare_switch_scx(struct rq *rq, struct task_struct *p)
> +{
> + lockdep_assert_held(&p->pi_lock);
> + lockdep_assert_rq_held(rq);
> +
> + sched_proxy_block_task(rq, p);
> }

Are there use cases where proxy execution instance needs to survive across
class changes (the mutex rt PI, maybe)? If not, maybe this can be the global
behavior?

Thanks.

--
tejun