FYI, we noticed the following commit: commit: 411fe24e6b7c283c3a1911450cdba6dd3aaea56e ("nohz: Fix collision between tick and other hrtimers, again") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -smp 2 -m 8G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +-------------------------------------------------------------+------------+------------+ | | ce6cf9a15d | 411fe24e6b | +-------------------------------------------------------------+------------+------------+ | boot_successes | 13 | 44 | | boot_failures | 0 | 8 | | BUG:scheduling_while_atomic | 0 | 6 | | WARNING:at_kernel/time/tick-sched.c:#__tick_nohz_idle_enter | 0 | 2 | +-------------------------------------------------------------+------------+------------+ [ 587.910907] WARNING: CPU: 1 PID: 0 at kernel/time/tick-sched.c:791 __tick_nohz_idle_enter+0x2be/0x4d5 [ 587.946906] Modules linked in: snd_pcsp [ 587.962853] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.12.0-rc1-00083-g411fe24e #92 [ 587.992017] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014 [ 588.018789] task: ffff89d7f58fd340 task.stack: ffffaa8100ca4000 [ 588.037771] RIP: 0010:__tick_nohz_idle_enter+0x2be/0x4d5 [ 588.050606] RSP: 0018:ffff89d7f7403f50 EFLAGS: 00010097 [ 588.065053] RAX: 7fffffffffffffff RBX: ffff89d7f75d4100 RCX: 7fffffffffffffff [ 588.083982] RDX: 800000886a4d40bf RSI: 7fffff7795b2bf3f RDI: ffffffff870e5df5 [ 588.102226] RBP: ffff89d7f7403f98 R08: 0000009e52c4dd1b R09: 0000000000000001 [ 588.118394] R10: 0000000000000001 R11: 0000000000011f00 R12: 000000886a7b0780 [ 588.134920] R13: 000000886a4d40c0 R14: 000000886a7b0780 R15: ffff89d7f740ca00 [ 588.153711] FS: 0000000000000000(0000) GS:ffff89d7f7400000(0000) knlGS:0000000000000000 [ 588.178631] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 588.195159] CR2: 00007fca779f0190 CR3: 0000000154423000 CR4: 00000000000006e0 [ 588.213892] Call Trace: [ 588.224494] [ 588.233592] tick_nohz_irq_exit+0x23/0x25 [ 588.244478] irq_exit+0x90/0xad [ 588.255145] scheduler_ipi+0xec/0x10e [ 588.268528] smp_reschedule_interrupt+0x29/0x2b [ 588.281522] reschedule_interrupt+0x93/0xa0 [ 588.292409] RIP: 0010:native_safe_halt+0x6/0x8 [ 588.305959] RSP: 0018:ffffaa8100ca7e98 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff02 [ 588.329517] RAX: ffff89d7f58fd340 RBX: ffff89d7f58fd340 RCX: 0000000000000003 [ 588.347794] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff89d7f58fd340 [ 588.364869] RBP: ffffaa8100ca7e98 R08: 0000009e52aed262 R09: 0000000000000001 [ 588.385186] R10: 0000000000000001 R11: 0000000000000015 R12: 0000000000000001 [ 588.403848] R13: 0000000000000000 R14: ffff89d7f58fd340 R15: ffff89d7f58fd340 [ 588.424047] [ 588.448308] ? trace_hardirqs_on+0xd/0xf [ 588.460079] default_idle+0x3f/0x18b [ 588.471318] arch_cpu_idle+0xf/0x11 [ 588.481691] default_idle_call+0x36/0x3d [ 588.495426] do_idle+0xce/0x195 [ 588.505994] cpu_startup_entry+0x1f/0x21 [ 588.518118] start_secondary+0x108/0x10b [ 588.529977] secondary_startup_64+0x9f/0x9f [ 588.544651] Code: ee 48 39 c6 48 89 c8 48 0f 47 c2 49 39 c4 4c 0f 47 e0 83 7b 64 00 4d 89 e6 74 51 4c 3b 63 58 75 4b 4d 3b 67 18 0f 8d 75 01 00 00 <0f> ff 80 3d fa a4 4c 01 00 75 36 4c 8b 4b 18 48 89 df c6 05 ea [ 588.598449] ---[ end trace 8f38c8d8d4cc5cb2 ]--- To reproduce: git clone https://github.com/01org/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, Xiaolong