FYI, we noticed the following commit: commit: 367a3aa35e7bed10a74bed139f6728916f5d1508 ("sched/fair: Fix wake_affine() for !NUMA_BALANCING") in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap -smp 2 -m 1G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +------------------------------------------------------------------+------------+------------+ | | 01cbe29aa8 | 367a3aa35e | +------------------------------------------------------------------+------------+------------+ | boot_successes | 12 | 0 | | boot_failures | 38 | 59 | | invoked_oom-killer:gfp_mask=0x | 38 | | | Mem-Info | 38 | | | Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 38 | | | BUG:unable_to_handle_kernel | 0 | 59 | | Oops:#[##] | 0 | 59 | | Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 50 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 9 | +------------------------------------------------------------------+------------+------------+ [ 0.381170] BUG: unable to handle kernel NULL pointer dereference at (null) [ 0.384178] IP: (null) [ 0.385393] PGD 0 [ 0.385399] P4D 0 [ 0.386375] [ 0.388395] Oops: 0010 [#1] PREEMPT SMP KASAN [ 0.390000] Modules linked in: [ 0.390000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-rc4-00005-g367a3aa #1 [ 0.390000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014 [ 0.390000] task: ffff88002a024040 task.stack: ffff88002a028000 [ 0.390000] RIP: 0010: (null) [ 0.390000] RSP: 0000:ffff88002a02fbf8 EFLAGS: 00010002 [ 0.390000] RAX: ffff88002a02fbe0 RBX: 0000000000000001 RCX: 0000000000000000 [ 0.390000] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88002a02fc00 [ 0.390000] RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88002a02fbe0 [ 0.390000] R10: ffff88002a02fa90 R11: 0000000000000000 R12: 0000000000000000 [ 0.390000] R13: 0000000000000000 R14: 0000000000000000 R15: ffff88002a2dfb00 [ 0.390000] FS: 0000000000000000(0000) GS:ffff88002ae00000(0000) knlGS:0000000000000000 [ 0.390000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.390000] CR2: 0000000000000000 CR3: 0000000002c13000 CR4: 00000000000406f0 [ 0.390000] Call Trace: [ 0.390000] ? __lock_acquire+0x709/0x996 [ 0.390000] ? __lock_acquire+0x709/0x996 [ 0.390000] ? lock_is_held_type+0x75/0x8f [ 0.390000] ? select_task_rq+0xf3/0x1d0 [ 0.390000] ? try_to_wake_up+0x26a/0x44f [ 0.390000] ? wake_up_process+0x1c/0x25 [ 0.390000] ? __alloc_workqueue_key+0x6cc/0x81c [ 0.390000] ? cpus_read_unlock+0x11e/0x136 [ 0.390000] ? kmem_cache_create+0x2f9/0x3a8 [ 0.390000] ? net_defaults_init+0x85/0x85 [ 0.390000] ? net_ns_init+0x83/0x241 [ 0.390000] ? net_defaults_init+0x85/0x85 [ 0.390000] ? do_one_initcall+0x10a/0x2a4 [ 0.390000] ? kernel_init_freeable+0x417/0x5c8 [ 0.390000] ? rest_init+0x143/0x143 [ 0.390000] ? kernel_init+0x15/0x262 [ 0.390000] ? ret_from_fork+0x2a/0x40 [ 0.390000] Code: Bad RIP value. [ 0.390000] RIP: (null) RSP: ffff88002a02fbf8 [ 0.390000] CR2: 0000000000000000 [ 0.390000] ---[ end trace 8fd7d69d2c2fef8c ]--- 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