Re: WARNING: at arch/x86/kernel/smp.c:119 native_smp_send_reschedule+0x25/0x43()

Tony Luck
2012-04-05T20:38:45Z

A plain v3.3 kernel hits this when I just type "reboot" on a 32 cpu (2
socket * 8 core * 2 HT) system:

sd 0:0:0:0: [sda] Synchronizing SCSI cache
Restarting system.
machine restart
------------[ cut here ]------------
WARNING: at arch/x86/kernel/smp.c:120 native_smp_send_reschedule+0x5c/0x60()
Hardware name: S2600CP
Modules linked in:
Pid: 10068, comm: reboot Not tainted 3.3.0- #1
Call Trace:
<IRQ> [<ffffffff8104c37f>] warn_slowpath_common+0x7f/0xc0
[<ffffffff8104c3da>] warn_slowpath_null+0x1a/0x20
[<ffffffff810314bc>] native_smp_send_reschedule+0x5c/0x60
[<ffffffff81084824>] trigger_load_balance+0x244/0x2f0
[<ffffffff8107bf71>] scheduler_tick+0x101/0x160
[<ffffffff8105b1de>] update_process_times+0x6e/0x90
[<ffffffff8109e6a6>] tick_sched_timer+0x66/0xc0
[<ffffffff81072d63>] __run_hrtimer+0x83/0x1d0
[<ffffffff8109e640>] ? tick_nohz_handler+0xf0/0xf0
[<ffffffff81073146>] hrtimer_interrupt+0x106/0x240
[<ffffffff8157bf69>] smp_apic_timer_interrupt+0x69/0x99
[<ffffffff8157ac1e>] apic_timer_interrupt+0x6e/0x80
<EOI> [<ffffffff81033276>] ? default_send_IPI_mask_allbutself_phys+0xd6/0x110
[<ffffffff81036397>] physflat_send_IPI_allbutself+0x17/0x20
[<ffffffff81031849>] native_nmi_stop_other_cpus+0xa9/0x110
[<ffffffff81030e24>] native_machine_shutdown+0x64/0x90
[<ffffffff81030a97>] native_machine_restart+0x27/0x40
[<ffffffff810309cf>] machine_restart+0xf/0x20
[<ffffffff810637de>] kernel_restart+0x3e/0x60
[<ffffffff810639e0>] sys_reboot+0x1c0/0x240
[<ffffffff811734af>] ? __d_free+0x4f/0x70
[<ffffffff8117353c>] ? d_free+0x6c/0x80
[<ffffffff81174dbd>] ? d_kill+0xad/0x110
[<ffffffff8117b603>] ? mntput+0x23/0x40
[<ffffffff8115f9b7>] ? fput+0x197/0x260
[<ffffffff8115ba63>] ? filp_close+0x63/0x90
[<ffffffff8157a169>] system_call_fastpath+0x16/0x1b
---[ end trace 5e0dddabdbb21c7e ]---