Re: [PATCH] sched/stats: Fix run_delay over-count for proxy-migrated blocked donors
From: Kayra Cizmeci
Date: Sun Nov 01 2026 - 10:19:33 EST
On Sun, Nov 01, 2026 at 10:31:01PM +0800, albin_yang@xxxxxxx wrote:
> On Wed, Oct 28, 2026 at 09:10:20AM +0530, K Prateek Nayak wrote:
> > Yup! on_cpu / task_current() gets dealt at sched_info_switch()
> > which will enqueue the signal if the task is preempted.
>
> Prateek, Kayra, Peter -- thanks for the reviews and suggestions.
>
> I tested the full diff below (comments stripped for brevity).
IDK if you added the comment Peter asked for, if you didn't please
add it in the final patch :-).
> One ask, about the split rather than the code: keep the DELAY_DEQUEUE
> fix as its own patch on se.sched_delayed. p->is_blocked arrived in
> 4c2a20413d7f and first appears in v7.2-rc1, while that over-count goes
> back to v6.12 (152e11f6df29) -- folded in, it cannot be built or
> backported for v6.12.y..v7.1.y. It already exists as v4, already
> reviewed and tested:
>
> https://lore.kernel.org/all/20261024042753.2276779-1-albin_yang@xxxxxxx/
>
> Happy to be overruled.
It's up to Peter. Tho, makes sense to me if the other issue exists on older
versions.
Thanks,
Kayra