FYI, we noticed the following commit: commit: ddb08a630e369fa2e327ece8e406bcdc3285b064 ("blk-mq-sched: fixes") https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git tmp-sched in testcase: boot on test machine: qemu-system-i386 -enable-kvm -cpu Haswell,+smep,+smap -m 360M caused below changes: +--------------------------------------------------------------------------------+------------+------------+ | | 0443f9bee5 | ddb08a630e | +--------------------------------------------------------------------------------+------------+------------+ | boot_successes | 1 | 2 | | boot_failures | 5 | 70 | | BUG:kernel_reboot-without-warning_in_test_stage | 1 | | | BUG:scheduling_while_atomic | 4 | 70 | | INFO:suspicious_RCU_usage | 4 | 70 | | BUG:unable_to_handle_kernel | 4 | | | Oops:#[##] | 4 | | | Kernel_panic-not_syncing:Fatal_exception | 4 | | | BUG:sleeping_function_called_from_invalid_context_at_kernel/sched/completion.c | 0 | 70 | | INFO:lockdep_is_turned_off | 0 | 70 | +--------------------------------------------------------------------------------+------------+------------+ [ 4.956771] do_int80_syscall_32+0x6d/0x120 [ 4.957338] entry_INT80_32+0x2c/0x2c [ 4.957843] EIP: 0x777151b2 [ 4.958228] EFLAGS: 00000246 CPU: 0 [ 4.958702] EAX: ffffffda EBX: 776a0b6a ECX: 00000101 EDX: 00000000 [ 4.959520] ESI: 55ba8cd0 EDI: 00000014 EBP: 77521b00 ESP: 7fb88224 [ 4.960339] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b [ 4.961206] BUG: sleeping function called from invalid context at kernel/sched/completion.c:90 [ 4.962639] in_atomic(): 1, irqs_disabled(): 0, pid: 142, name: kworker/0:2 [ 4.963593] INFO: lockdep is turned off. [ 4.964140] CPU: 0 PID: 142 Comm: kworker/0:2 Tainted: G W 4.10.0-rc3-00062-gddb08a63 #1 [ 4.965442] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014 [ 4.966784] Workqueue: events_freezable_power_ disk_events_workfn [ 4.967578] Call Trace: [ 4.967919] dump_stack+0x16/0x22 [ 4.968392] ___might_sleep+0x1f0/0x210 [ 4.968925] __might_sleep+0x85/0xa0 To reproduce: git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, Xiaolong