Re: [RFC PATCH v1 2/8] sched/proxy: Wake blocked RT and deadline tasks through the full path

From: Mathieu Desnoyers

Date: Tue Nov 17 2026 - 08:19:34 EST


On 2026-11-16 16:35, John Stultz wrote:
> Also in another thread (which I can't find right now), a good point
> was raised that some of the early return "shortcuts" that I've used
> elsewhere aren't good for core-scheduling either since they can break
> the cookie checks, so I wonder if a better fix here would be just
> removing that (task_cpu(p) == p->wake_cpu) conditional all together?

Yes, that is simpler. I kept the shortcut for the other classes only to
keep the optimization of commit 7918cf369361. If the cookie checks need
the full path too, I see no reason to keep it.

The reply to patch 1 has what this changes there.

Thanks,

Mathieu


--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com