FYI, we noticed the following commit:
commit: db4ea8c10708f3879f80c9822775bc72f3391b41 ("sched: force update of blocked
load of idle cpus")
git://internal_merge_and_test_tree devel-catchup-201612230208
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap -smp 2 -m 512M
caused below changes:
+-------------------------------------------------------+------------+------------+
| | 6b94780e45 | db4ea8c107 |
+-------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 6 | 4 |
| BUG:key_not_in.data | 6 | |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map | 6 | |
| calltrace:vhci_hcd_init | 6 | |
| general_protection_fault:#[##]SMP_KASAN | 0 | 4 |
| RIP:run_rebalance_domains | 0 | 4 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 4 |
+-------------------------------------------------------+------------+------------+
[ 7.489496] clocksource: Switched to clocksource kvm-clock
[ 8.319602] kasan: CONFIG_KASAN_INLINE enabled
[ 8.326177] kasan: GPF could be caused by NULL-ptr deref or user memory access
[ 8.346329] general protection fault: 0000 [#1] SMP KASAN
[ 8.353824] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.0-rc8-00180-gdb4ea8c #1
[ 8.374304] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 8.395966] task: ffff880000389480 task.stack: ffff880000398000
[ 8.405112] RIP: 0010:[<ffffffff81184c95>] [<ffffffff81184c95>]
run_rebalance_domains+0x18d/0x5d6
[ 8.420303] RSP: 0000:ffff880018d07ec0 EFLAGS: 00010206
[ 8.428279] RAX: dffffc0000000000 RBX: ffffffff83c09000 RCX: 0000000000000005
[ 8.440013] RDX: dffffc0000000000 RSI: 000000004f45a5d9 RDI: 0000000000000028
[ 8.451672] RBP: ffff880018d07f38 R08: 0000000000000000 R09: 0000000000000000
[ 8.463146] R10: ffff8800183978ef R11: ffffed0003072f1d R12: 0000000000000000
[ 8.474625] R13: ffffffff83b853e8 R14: 0000000000000001 R15: ffff880018d1fac0
[ 8.486385] FS: 0000000000000000(0000) GS:ffff880018d00000(0000)
knlGS:0000000000000000
[ 8.499287] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 8.509007] CR2: 00000000ffffffff CR3: 0000000003c0e000 CR4: 00000000000006e0
[ 8.520279] Stack:
[ 8.523515] ffffffff81071467 dffffc0000000000 fffffbfff09e1e45 0000000084f0f230
[ 8.536878] ffffffff811eecfd ffffffff84f0f228 ffffffffffffffff 00000000fffea5c8
[ 8.550090] 0000000118d07f60 000000000001fac0 dffffc0000000000 0000000000000080
[ 8.562414] Call Trace:
[ 8.567270] <IRQ>
[ 8.570645] [<ffffffff81071467>] ? kvm_clock_read+0x2e/0x2e
[ 8.580396] [<ffffffff811eecfd>] ? clocksource_delta+0x34/0x3e
[ 8.589403] [<ffffffff83040731>] __do_softirq+0x231/0x4e8
[ 8.599257] [<ffffffff8111490b>] irq_exit+0x7a/0x1d4
[ 8.607318] [<ffffffff8105dc11>] smp_reschedule_interrupt+0x24/0x26
[ 8.618021] [<ffffffff8303fd24>] reschedule_interrupt+0x84/0x90
[ 8.628230] <EOI>
[ 8.631601] [<ffffffff8303d3b9>] ? native_safe_halt+0x6/0x8
[ 8.641093] [<ffffffff8303d0a7>] default_idle+0x1f/0x32
[ 8.649198] [<ffffffff810397b5>] arch_cpu_idle+0xf/0x11
[ 8.658688] [<ffffffff8303d46b>] default_idle_call+0x1e/0x20
[ 8.667630] [<ffffffff81195db3>] cpu_startup_entry+0x1b2/0x2b4
[ 8.677513] [<ffffffff81195c01>] ? cpu_in_idle+0x25/0x25
[ 8.686723] [<ffffffff811fd4b8>] ? clockevents_config_and_register+0x88/0x91
[ 8.698485] [<ffffffff8105fd88>] start_secondary+0x28e/0x2b6
[ 8.707487] [<ffffffff8105fafa>] ? set_cpu_sibling_map+0xdf8/0xdf8
[ 8.717766] Code: c1 ea 03 80 3c 02 00 74 08 4c 89 e7 e8 cd 8e 20 00 4d 8b 24 24 48 ba
00 00 00 00 00 fc ff df 49 8d 7c 24 28 48 89 f9 48 c1 e9 03 <8a> 0c 11 48 89 fa 83
e2 07 83 c2 03 38 ca 7c 09 84 c9 74 05 e8
[ 8.764755] RIP [<ffffffff81184c95>] run_rebalance_domains+0x18d/0x5d6
[ 8.775188] RSP <ffff880018d07ec0>
[ 8.782191] ---[ end trace b7890bb32f0d091d ]---
[ 8.788958] VFS: Disk quotas dquot_6.6.0
To reproduce:
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this
email
Thanks,
Xiaolong