[ 29.971832][ T167] bench-lookups_i (167) used greatest stack depth: 24208 bytes left [ 29.971851][ T167] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.971853][ T167] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 167, name: bench-lookups_i [ 29.971855][ T167] preempt_count: 2, expected: 0 [ 29.971856][ T167] RCU nest depth: 0, expected: 0 [ 29.971857][ T167] locks held by bench-lookups_i/167: 5, last CPU#0: [ 29.971859][ T167] #0: ffffffff862127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 29.971870][ T167] #1: ffffffff86379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.971876][ T167] #2: ffffffff86379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.971880][ T167] #3: ffffffff86299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.971883][ T167] #4: ffffffff86299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.971887][ T167] irq event stamp: 12197672 [ 29.971888][ T167] hardirqs last enabled at (12197671): [] __down_trylock_console_sem+0x86/0xa0 [ 29.971890][ T167] hardirqs last disabled at (12197672): [] console_emit_next_record+0x3d4/0x4c0 [ 29.971892][ T167] softirqs last enabled at (12196992): [] handle_softirqs+0x67c/0x900 [ 29.971895][ T167] softirqs last disabled at (12196985): [] __irq_exit_rcu+0x145/0x1c0 [ 29.971897][ T167] Preemption disabled at: [ 29.971898][ T167] [<0000000000000000>] 0x0 [ 29.971904][ T167] CPU: 0 UID: 0 PID: 167 Comm: bench-lookups_i Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.971908][ T167] Tainted: [W]=WARN [ 29.971909][ T167] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.971910][ T167] Call Trace: [ 29.971912][ T167] [ 29.971913][ T167] dump_stack_lvl+0x6f/0xa0 [ 29.971919][ T167] __might_resched.cold+0x1fe/0x2c1 [ 29.971924][ T167] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.971928][ T167] ? __kmalloc_noprof+0xdb/0x760 [ 29.971933][ T167] __kmalloc_noprof+0x443/0x760 [ 29.971935][ T167] ? alloc_buf.isra.0+0x4b/0x260 [ 29.971941][ T167] ? do_raw_spin_unlock+0x59/0x250 [ 29.971944][ T167] alloc_buf.isra.0+0x4b/0x260 [ 29.971947][ T167] put_chars+0x1e1/0x2f0 [ 29.971950][ T167] ? __send_to_port+0x420/0x420 [ 29.971952][ T167] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 29.971956][ T167] ? validate_chain+0x38b/0xc20 [ 29.971961][ T167] hvc_console_print+0x292/0x780 [ 29.971968][ T167] ? hvc_write+0x3a0/0x3a0 [ 29.971970][ T167] ? rcu_is_watching+0x16/0xd0 [ 29.971973][ T167] ? lock_acquire+0x13c/0x160 [ 29.971977][ T167] console_emit_next_record+0x22f/0x4c0 [ 29.971981][ T167] ? devkmsg_read+0x4b0/0x4b0 [ 29.971982][ T167] ? console_flush_one_record+0x106/0x710 [ 29.971985][ T167] ? rcu_is_watching+0x16/0xd0 [ 29.971988][ T167] ? lock_acquire+0x13c/0x160 [ 29.971991][ T167] console_flush_one_record+0x46f/0x710 [ 29.971995][ T167] ? console_emit_next_record+0x4c0/0x4c0 [ 29.971997][ T167] ? __lock_acquire+0x518/0xc20 [ 29.972002][ T167] console_unlock+0xee/0x1f0 [ 29.972005][ T167] ? console_flush_one_record+0x710/0x710 [ 29.972007][ T167] ? rcu_is_watching+0x16/0xd0 [ 29.972009][ T167] ? lock_acquire+0x60/0x160 [ 29.972013][ T167] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.972014][ T167] ? vprintk_emit+0x320/0x3e0 [ 29.972018][ T167] vprintk_emit+0x37c/0x3e0 [ 29.972021][ T167] ? wake_up_klogd_work_func+0x90/0x90 [ 29.972025][ T167] ? __lock_acquire+0x518/0xc20 [ 29.972028][ T167] _printk+0xc7/0x100 [ 29.972032][ T167] ? snapshot_read.cold+0x21/0x21 [ 29.972035][ T167] ? do_raw_spin_lock+0x131/0x280 [ 29.972037][ T167] ? __rwlock_init+0x150/0x150 [ 29.972041][ T167] ? do_raw_spin_lock+0x131/0x280 [ 29.972043][ T167] do_exit.cold+0x82/0x9c [ 29.972047][ T167] ? exit_notify+0x890/0x890 [ 29.972048][ T167] ? __lock_release.isra.0+0x69/0x1a0 [ 29.972051][ T167] ? rcu_is_watching+0x16/0xd0 [ 29.972055][ T167] do_group_exit+0xb8/0x370 [ 29.972058][ T167] __x64_sys_exit_group+0x3c/0x50 [ 29.972060][ T167] x64_sys_call+0x1567/0x1570 [ 29.972062][ T167] do_syscall_64+0xff/0x530 [ 29.972066][ T167] ? exc_page_fault+0xee/0x100 [ 29.972069][ T167] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.972071][ T167] RIP: 0033:0x7f59d6f661b8 [ 29.972073][ T167] Code: Unable to access opcode bytes at 0x7f59d6f6618e. [ 29.972074][ T167] RSP: 002b:00007ffff9c84298 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 29.972077][ T167] RAX: ffffffffffffffda RBX: 00007f59d7096f88 RCX: 00007f59d6f661b8 [ 29.972078][ T167] RDX: 00007f59d6ea4ec8 RSI: ffffffffffffff90 RDI: 0000000000000000 [ 29.972079][ T167] RBP: 00007ffff9c842f0 R08: 0000000000000000 R09: 0000000000000000 [ 29.972080][ T167] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415de0 [ 29.972080][ T167] R13: 0000000000000000 R14: 00007f59d7095680 R15: 00007f59d7096fa0 [ 29.972087][ T167]