Re: [PATCH 08/16] sched/deadline: Do not replenish a boost from cleared parameters
From: Mathieu Desnoyers
Date: Wed Nov 18 2026 - 16:10:20 EST
> This problem wasn't introduced by this patch, but can pi_se point to a
> freed task_struct after a nested rt_mutex wait is aborted [1]?
Yes. When W aborts its wait, remove_waiter() makes M its own donor
again. The sort keys of M stay equal, so the walk stops at M. "rtmutex:
Continue the chain walk when a waiter's deadline donor changes" fixes
it. It records the donor in the waiter with the sort keys, so the walk
goes on to O. It is in the second series, which applies on top of this
one. Its message describes this deboost case.
Thanks,
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com