[ 34.294189][ T167] bench-lookups_i (167) used greatest stack depth: 24528 bytes left [ 34.294209][ T167] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.294211][ T167] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 167, name: bench-lookups_i [ 34.294212][ T167] preempt_count: 2, expected: 0 [ 34.294213][ T167] RCU nest depth: 0, expected: 0 [ 34.294214][ T167] locks held by bench-lookups_i/167: 5, last CPU#1: [ 34.294216][ T167] #0: ffffffff86e127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 34.294227][ T167] #1: ffffffff86f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.294233][ T167] #2: ffffffff86f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.294236][ T167] #3: ffffffff86e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.294240][ T167] #4: ffffffff86e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.294244][ T167] irq event stamp: 12751442 [ 34.294245][ T167] hardirqs last enabled at (12751441): [] __down_trylock_console_sem+0x86/0xa0 [ 34.294248][ T167] hardirqs last disabled at (12751442): [] console_emit_next_record+0x3d4/0x4c0 [ 34.294250][ T167] softirqs last enabled at (12751244): [] handle_softirqs+0x67c/0x900 [ 34.294252][ T167] softirqs last disabled at (12751235): [] __irq_exit_rcu+0x145/0x1c0 [ 34.294254][ T167] Preemption disabled at: [ 34.294255][ T167] [<0000000000000000>] 0x0 [ 34.294262][ T167] CPU: 1 UID: 0 PID: 167 Comm: bench-lookups_i Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.294265][ T167] Tainted: [W]=WARN [ 34.294266][ T167] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.294269][ T167] Call Trace: [ 34.294270][ T167] [ 34.294272][ T167] dump_stack_lvl+0x6f/0xa0 [ 34.294278][ T167] __might_resched.cold+0x1fe/0x2c1 [ 34.294283][ T167] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.294287][ T167] ? __kmalloc_noprof+0xdb/0x760 [ 34.294292][ T167] __kmalloc_noprof+0x443/0x760 [ 34.294294][ T167] ? alloc_buf.isra.0+0x4b/0x260 [ 34.294299][ T167] ? do_raw_spin_unlock+0x59/0x250 [ 34.294302][ T167] alloc_buf.isra.0+0x4b/0x260 [ 34.294305][ T167] put_chars+0x1e1/0x2f0 [ 34.294308][ T167] ? __send_to_port+0x420/0x420 [ 34.294310][ T167] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 34.294315][ T167] ? validate_chain+0x38b/0xc20 [ 34.294320][ T167] hvc_console_print+0x292/0x780 [ 34.294326][ T167] ? hvc_write+0x3a0/0x3a0 [ 34.294328][ T167] ? rcu_is_watching+0x16/0xd0 [ 34.294331][ T167] ? lock_acquire+0x13c/0x160 [ 34.294335][ T167] console_emit_next_record+0x22f/0x4c0 [ 34.294339][ T167] ? devkmsg_read+0x4b0/0x4b0 [ 34.294340][ T167] ? console_flush_one_record+0x106/0x710 [ 34.294343][ T167] ? rcu_is_watching+0x16/0xd0 [ 34.294346][ T167] ? lock_acquire+0x13c/0x160 [ 34.294350][ T167] console_flush_one_record+0x46f/0x710 [ 34.294354][ T167] ? console_emit_next_record+0x4c0/0x4c0 [ 34.294355][ T167] ? __lock_acquire+0x518/0xc20 [ 34.294360][ T167] console_unlock+0xee/0x1f0 [ 34.294363][ T167] ? console_flush_one_record+0x710/0x710 [ 34.294365][ T167] ? rcu_is_watching+0x16/0xd0 [ 34.294367][ T167] ? lock_acquire+0x60/0x160 [ 34.294371][ T167] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.294373][ T167] ? vprintk_emit+0x320/0x3e0 [ 34.294376][ T167] vprintk_emit+0x37c/0x3e0 [ 34.294380][ T167] ? wake_up_klogd_work_func+0x90/0x90 [ 34.294383][ T167] ? __lock_acquire+0x518/0xc20 [ 34.294386][ T167] _printk+0xc7/0x100 [ 34.294390][ T167] ? snapshot_read.cold+0x21/0x21 [ 34.294393][ T167] ? do_raw_spin_lock+0x131/0x280 [ 34.294395][ T167] ? __rwlock_init+0x150/0x150 [ 34.294399][ T167] ? do_raw_spin_lock+0x131/0x280 [ 34.294402][ T167] do_exit.cold+0x82/0x9c [ 34.294405][ T167] ? exit_notify+0x890/0x890 [ 34.294406][ T167] ? __lock_release.isra.0+0x69/0x1a0 [ 34.294409][ T167] ? rcu_is_watching+0x16/0xd0 [ 34.294413][ T167] do_group_exit+0xb8/0x370 [ 34.294416][ T167] __x64_sys_exit_group+0x3c/0x50 [ 34.294418][ T167] x64_sys_call+0x1567/0x1570 [ 34.294420][ T167] do_syscall_64+0xff/0x530 [ 34.294424][ T167] ? exc_page_fault+0xee/0x100 [ 34.294427][ T167] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.294429][ T167] RIP: 0033:0x7fc8655081b8 [ 34.294432][ T167] Code: Unable to access opcode bytes at 0x7fc86550818e. [ 34.294433][ T167] RSP: 002b:00007ffe3c20a148 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 34.294435][ T167] RAX: ffffffffffffffda RBX: 00007fc865638f88 RCX: 00007fc8655081b8 [ 34.294436][ T167] RDX: 00007fc865446ec8 RSI: ffffffffffffff90 RDI: 0000000000000000 [ 34.294437][ T167] RBP: 00007ffe3c20a1a0 R08: 0000000000000000 R09: 0000000000000000 [ 34.294438][ T167] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415de0 [ 34.294439][ T167] R13: 0000000000000000 R14: 00007fc865637680 R15: 00007fc865638fa0 [ 34.294445][ T167]