Re: [PATCH v7 05/40] sched/deadline: Refuse dl_server debugfs writes while the rq is offline

From: Mathieu Desnoyers

Date: Wed Nov 18 2026 - 08:45:59 EST


On 18/11/26 12:26, Juri Lelli wrote:
> Reviewed-by: Juri Lelli <juri.lelli@xxxxxxxxxx>

Thanks! The next version adds one test here. The Sashiko review of v7
noted that cpu_active() is cleared before rq->online on the way down.
So the patch now refuses a write if either is off:

if (!rq->online || !cpu_active(cpu_of(rq)))
return -EBUSY;

I kept your tag, with a note below the --- that it was on the v7 code.
Tell me if you would rather I drop it.

Mathieu

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