Re: [PATCH v2] sched/stats: Fix run_delay over-count for tasks parked on the runqueue while blocked
From: albin_yang
Date: Sat Nov 14 2026 - 10:21:54 EST
Hi Kayra,
> So I see you removed some of the comments from Prateek's diff.
> Is there a reason or you just forgot to add them? :-).
I was just trying to simplify the patch, not an oversight. Those
comments are needed; I'll restore them in the next version.
> And what is your plan for v4?
v4: https://lore.kernel.org/all/20261024042753.2276779-1-albin_yang@xxxxxxx/
Two options as I see it:
1) Drop v4. This patch fixes both the proxy and the DELAY_DEQUEUE
over-counts on mainline, so a separate sched_delayed based fix
is not needed here. Once this patch lands, I would submit v4
to stable separately as the equivalent fix for the older series.
2) Post a series with v4 as 1/2 (so it can be backported to older
kernels) and this patch as 2/2. This is a bit odd, though, as
1/2's change to sched_info_enqueue() would be overwritten by
2/2 -- they touch the same line.
Happy to go either way if you have a preference.
Thanks,
Wei Yang