Re: WARNING: kernel/sched/cputime.c:481 at kcpustat_dyntick_stop+0x8b/0xa0, CPU#0: swapper/0/0 (was: [PATCH v3] sched/cputime: Don't account idle time twice after dyntick-idle)
From: Stian Halseth
Date: Sun Oct 25 2026 - 04:13:56 EST
Hi Paul,
On Sun, 2026-10-25 at 08:27 +0100, Paul Menzel wrote:
>
> On a Dell XPS 13 9360 (Intel Kaby Lake, 4 CPUs), Linus’ master from
> the 7.4 merge window, warned once during boot (of five boots having
> your change included), in the first idle period of CPU 0:
Thanks for the report. I believe the warning _is_ the bug here, and
that the accounting itself is correct.
Currently running tests on a follow up patch, suggesting to remove
WARN_ON_ONCE, with a comment explaining why.
Once tests are done, I'll finish writing up the commit message which
explains my reasoning in detail. Should follow shortly.
/Stian
Attachment:
signature.asc
Description: This is a digitally signed message part