Re: [PATCH v29 7/9] sched: Add blocked_donor link to task for smarter mutex handoffs

From: Peter Zijlstra

Date: Tue May 19 2026 - 10:55:59 EST


On Tue, May 19, 2026 at 04:32:38PM +0200, Peter Zijlstra wrote:

> Notably, blocked_donor is a back link that is specific to the current
> schedule() call / donor pick cycle.
>
> This means it is stable when either: holding rq->lock or disabling
> preemption -- because when preemption is disabled.

... you cannot schedule().