[ 37.070037][ T166] bench-lookups_i (166) used greatest stack depth: 24144 bytes left [ 37.070057][ T166] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.070059][ T166] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 166, name: bench-lookups_i [ 37.070061][ T166] preempt_count: 2, expected: 0 [ 37.070062][ T166] RCU nest depth: 0, expected: 0 [ 37.070062][ T166] locks held by bench-lookups_i/166: 5, last CPU#3: [ 37.070065][ T166] #0: ffffffffb68127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 37.070077][ T166] #1: ffffffffb6979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.070083][ T166] #2: ffffffffb6979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.070087][ T166] #3: ffffffffb6899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.070091][ T166] #4: ffffffffb6899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 37.070095][ T166] irq event stamp: 12091374 [ 37.070095][ T166] hardirqs last enabled at (12091373): [] __down_trylock_console_sem+0x86/0xa0 [ 37.070098][ T166] hardirqs last disabled at (12091374): [] console_emit_next_record+0x3d4/0x4c0 [ 37.070100][ T166] softirqs last enabled at (12090346): [] handle_softirqs+0x67c/0x900 [ 37.070102][ T166] softirqs last disabled at (12090297): [] __irq_exit_rcu+0x145/0x1c0 [ 37.070105][ T166] Preemption disabled at: [ 37.070105][ T166] [<0000000000000000>] 0x0 [ 37.070112][ T166] CPU: 3 UID: 0 PID: 166 Comm: bench-lookups_i Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.070116][ T166] Tainted: [W]=WARN [ 37.070117][ T166] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.070118][ T166] Call Trace: [ 37.070120][ T166] [ 37.070122][ T166] dump_stack_lvl+0x6f/0xa0 [ 37.070127][ T166] __might_resched.cold+0x1fe/0x2c1 [ 37.070132][ T166] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.070136][ T166] ? __kmalloc_noprof+0xdb/0x760 [ 37.070141][ T166] __kmalloc_noprof+0x443/0x760 [ 37.070144][ T166] ? alloc_buf.isra.0+0x4b/0x260 [ 37.070150][ T166] ? do_raw_spin_unlock+0x59/0x250 [ 37.070152][ T166] alloc_buf.isra.0+0x4b/0x260 [ 37.070155][ T166] put_chars+0x1e1/0x2f0 [ 37.070159][ T166] ? __send_to_port+0x420/0x420 [ 37.070160][ T166] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.070166][ T166] ? validate_chain+0x38b/0xc20 [ 37.070171][ T166] hvc_console_print+0x292/0x780 [ 37.070177][ T166] ? hvc_write+0x3a0/0x3a0 [ 37.070179][ T166] ? rcu_is_watching+0x16/0xd0 [ 37.070182][ T166] ? lock_acquire+0x13c/0x160 [ 37.070185][ T166] console_emit_next_record+0x22f/0x4c0 [ 37.070189][ T166] ? devkmsg_read+0x4b0/0x4b0 [ 37.070191][ T166] ? console_flush_one_record+0x106/0x710 [ 37.070194][ T166] ? rcu_is_watching+0x16/0xd0 [ 37.070196][ T166] ? lock_acquire+0x13c/0x160 [ 37.070200][ T166] console_flush_one_record+0x46f/0x710 [ 37.070204][ T166] ? console_emit_next_record+0x4c0/0x4c0 [ 37.070206][ T166] ? __lock_acquire+0x518/0xc20 [ 37.070211][ T166] console_unlock+0xee/0x1f0 [ 37.070214][ T166] ? console_flush_one_record+0x710/0x710 [ 37.070215][ T166] ? rcu_is_watching+0x16/0xd0 [ 37.070218][ T166] ? lock_acquire+0x60/0x160 [ 37.070221][ T166] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.070223][ T166] ? vprintk_emit+0x320/0x3e0 [ 37.070226][ T166] vprintk_emit+0x37c/0x3e0 [ 37.070230][ T166] ? wake_up_klogd_work_func+0x90/0x90 [ 37.070233][ T166] ? __lock_acquire+0x518/0xc20 [ 37.070237][ T166] _printk+0xc7/0x100 [ 37.070240][ T166] ? snapshot_read.cold+0x21/0x21 [ 37.070243][ T166] ? do_raw_spin_lock+0x131/0x280 [ 37.070245][ T166] ? __rwlock_init+0x150/0x150 [ 37.070249][ T166] ? do_raw_spin_lock+0x131/0x280 [ 37.070252][ T166] do_exit.cold+0x82/0x9c [ 37.070255][ T166] ? exit_notify+0x890/0x890 [ 37.070257][ T166] ? __lock_release.isra.0+0x69/0x1a0 [ 37.070259][ T166] ? rcu_is_watching+0x16/0xd0 [ 37.070263][ T166] do_group_exit+0xb8/0x370 [ 37.070266][ T166] __x64_sys_exit_group+0x3c/0x50 [ 37.070268][ T166] x64_sys_call+0x1567/0x1570 [ 37.070271][ T166] do_syscall_64+0xff/0x530 [ 37.070275][ T166] ? exc_page_fault+0xee/0x100 [ 37.070277][ T166] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 37.070280][ T166] RIP: 0033:0x7fab8124e1b8 [ 37.070282][ T166] Code: Unable to access opcode bytes at 0x7fab8124e18e. [ 37.070283][ T166] RSP: 002b:00007ffe69b2f668 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 37.070285][ T166] RAX: ffffffffffffffda RBX: 00007fab8137ef88 RCX: 00007fab8124e1b8 [ 37.070287][ T166] RDX: 00007fab8118cec8 RSI: ffffffffffffff90 RDI: 0000000000000000 [ 37.070288][ T166] RBP: 00007ffe69b2f6c0 R08: 0000000000000000 R09: 0000000000000000 [ 37.070288][ T166] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415de0 [ 37.070289][ T166] R13: 0000000000000000 R14: 00007fab8137d680 R15: 00007fab8137efa0 [ 37.070298][ T166]