Re: [GIT PULL] Scheduler updates for v7.4

From: Frederic Weisbecker

Date: Sat Oct 31 2026 - 09:30:27 EST


Le Fri, Oct 30, 2026 at 02:05:36PM -1000, Linus Torvalds a écrit :
> On Sun, 18 Oct 2026 at 00:43, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> >
> > Please pull the latest sched/core Git tree from:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-2026-10-18
>
> So this seems to trigger for me on my laptop. Not every boot, but I've
> seen it at least twice now:
>
> > Stian Halseth (1):
> > sched/cputime: Don't account idle time twice after dyntick-idle
>
> where the new WARN_ON_ONCE() triggers at boot, resulting in a splat like this
>
> now < tick_start
> WARNING: kernel/sched/cputime.c:481 at
> kcpustat_dyntick_stop+0x82/0x90, CPU#2: swapper/2/0
> Modules linked in:
> CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted
> 7.3.0-19045-gb92f6e90cf05 #7 PREEMPT(lazy)
> Hardware name: Dell Inc. XPS 13 9380/0KTW76, BIOS 1.26.0 09/11/2023
> RIP: 0010:kcpustat_dyntick_stop+0x82/0x90
> Call Trace:
> <TASK>
> tick_nohz_idle_exit+0xaf/0x140
> do_idle+0x1f5/0x2e0
> cpu_startup_entry+0x20/0x30
> start_secondary+0xf0/0x120
> common_startup_64+0x13e/0x148
> </TASK>
>
> I haven't tried to figure out why, I'm just notifying the guilty parties...

Sorry about that, Stian has a fix, I'm just trying to wrap my head around it before
giving a final ACK.

Thanks.

--
Frederic Weisbecker
SUSE Labs