FYI, we noticed the following commit: https://github.com/0day-ci/linux Yijing-Wang/libsas-Alloc-dynamic-work-to-avoid-missing-sas-events/20160913-102822 commit 7fdf3b79f2d88bee5be57d80b55c003cef48e841 ("libsas: Alloc dynamic work to avoid missing sas events") in testcase: will-it-scale with following parameters: test: lock1 cpufreq_governor: performance Will It Scale takes a testcase and runs it from 1 through to n parallel copies to see if the testcase will scale. It builds both a process and threads based test in order to see any differences between the two. on test machine: 64 threads Intel(R) Xeon(R) CPU E5-4650 0 @ 2.70GHz with 64G memory caused below changes: +------------------------------------------------------------------+------------+------------+ | | 237870b337 | 7fdf3b79f2 | +------------------------------------------------------------------+------------+------------+ | boot_successes | 0 | 2 | | boot_failures | 3 | 10 | | BUG:kernel_reboot-without-warning_in_test_stage | 3 | | | BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h | 0 | 8 | | invoked_oom-killer:gfp_mask=0x | 0 | 2 | | Mem-Info | 0 | 2 | | Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0 | 2 | +------------------------------------------------------------------+------------+------------+ Starting watchdog daemon... Starting Update UTMP about System Runlevel Changes... [ 24.750994] BUG: sleeping function called from invalid context at mm/slab.h:393 [ 24.760818] in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper/0 [ 24.768265] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.8.0-rc1-00124-g7fdf3b7 #1 [ 24.776689] Hardware name: Intel Corporation LH Pass/S4600LH...., BIOS SE5C600.86B.99.02.1047.032320122259 03/23/2012 [ 24.788630] 0000000000000000 ffff88042f603c38 ffffffff8144bb59 ffffffff81e0d4c0 [ 24.796996] 0000000000000189 ffff88042f603c50 ffffffff810a49f4 ffffffff81cb8b20 [ 24.805359] ffff88042f603c78 ffffffff810a4a89 00000000024080c0 00000000024080c0 [ 24.813731] Call Trace: [ 24.816485] [] dump_stack+0x63/0x8a [ 24.822992] [] ___might_sleep+0xd4/0x120 [ 24.829253] [] __might_sleep+0x49/0x80 [ 24.835329] [] kmem_cache_alloc_trace+0x15e/0x1b0 [ 24.842507] [] notify_port_event+0x35/0x90 [libsas] [ 24.849878] [] sci_port_activate_phy+0xf3/0x1d0 [isci] [ 24.857515] [] sci_port_general_link_up_handler+0x4d/0xa0 [isci] [ 24.866131] [] sci_port_add_phy+0xec/0x1d0 [isci] [ 24.873279] [] apc_agent_timeout+0x193/0x2f0 [isci] [ 24.880645] [] ? sci_apc_agent_link_down+0x70/0x70 [isci] [ 24.888577] [] call_timer_fn+0x35/0x130 [ 24.894739] [] run_timer_softirq+0x222/0x4e0 [ 24.901399] [] ? ktime_get+0x41/0xb0 [ 24.907283] [] ? lapic_next_deadline+0x29/0x30 [ 24.914133] [] __do_softirq+0x10d/0x2b7 [ 24.920315] [] irq_exit+0xda/0xe0 [ 24.925891] [] smp_apic_timer_interrupt+0x42/0x50 [ 24.933026] [] apic_timer_interrupt+0x8c/0xa0 [ 24.939778] [] ? cpuidle_enter_state+0x11f/0x2e0 [ 24.947528] [] cpuidle_enter+0x17/0x20 [ 24.953607] [] call_cpuidle+0x2a/0x50 [ 24.959565] [] cpu_startup_entry+0x26c/0x310 [ 24.966221] [] rest_init+0x85/0x90 [ 24.971910] [] start_kernel+0x407/0x414 [ 24.978071] [] ? early_idt_handler_array+0x120/0x120 [ 24.985498] [] x86_64_start_reservations+0x2f/0x31 [ 24.992737] [] x86_64_start_kernel+0x13d/0x14c [ 24.999800] sas: phy-2:2 added to port-2:0, phy_mask:0x4 ( 1e672b58920008) [ 25.007780] sas: phy-2:3 added to port-2:1, phy_mask:0x8 (5000c5004badfb25) [ 25.015673] sas: DOING DISCOVERY on port 0, pid:668 To reproduce: git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git cd lkp-tests bin/lkp install job.yaml # job file is attached in this email bin/lkp run job.yaml Thanks, Xiaolong