Re: [PATCH 07/15] sched_ext: Block proxy donors across scheduler transitions
Tejun Heo <[email protected]> Mon, 3 Aug 2026 10:36:40 -1000
| Newsgroups | dev.linux.lists.sched-ext,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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