[ 31.614791][ T166] bench-lookups_i (166) used greatest stack depth: 24352 bytes left [ 31.614809][ T166] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.614811][ T166] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 166, name: bench-lookups_i [ 31.614813][ T166] preempt_count: 2, expected: 0 [ 31.614814][ T166] RCU nest depth: 0, expected: 0 [ 31.614815][ T166] locks held by bench-lookups_i/166: 5, last CPU#1: [ 31.614817][ T166] #0: ffffffff8fc127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 31.614828][ T166] #1: ffffffff8fd79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.614834][ T166] #2: ffffffff8fd79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.614838][ T166] #3: ffffffff8fc99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.614841][ T166] #4: ffffffff8fc99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 31.614845][ T166] irq event stamp: 12709634 [ 31.614846][ T166] hardirqs last enabled at (12709633): [] __down_trylock_console_sem+0x86/0xa0 [ 31.614849][ T166] hardirqs last disabled at (12709634): [] console_emit_next_record+0x3d4/0x4c0 [ 31.614851][ T166] softirqs last enabled at (12706148): [] handle_softirqs+0x67c/0x900 [ 31.614861][ T166] softirqs last disabled at (12706119): [] __irq_exit_rcu+0x145/0x1c0 [ 31.614863][ T166] Preemption disabled at: [ 31.614864][ T166] [<0000000000000000>] 0x0 [ 31.614871][ T166] CPU: 1 UID: 0 PID: 166 Comm: bench-lookups_i Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.614875][ T166] Tainted: [W]=WARN [ 31.614876][ T166] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.614877][ T166] Call Trace: [ 31.614879][ T166] [ 31.614880][ T166] dump_stack_lvl+0x6f/0xa0 [ 31.614886][ T166] __might_resched.cold+0x1fe/0x2c1 [ 31.614891][ T166] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.614895][ T166] ? __kmalloc_noprof+0xdb/0x760 [ 31.614900][ T166] __kmalloc_noprof+0x443/0x760 [ 31.614902][ T166] ? alloc_buf.isra.0+0x4b/0x260 [ 31.614908][ T166] ? do_raw_spin_unlock+0x59/0x250 [ 31.614910][ T166] alloc_buf.isra.0+0x4b/0x260 [ 31.614914][ T166] put_chars+0x1e1/0x2f0 [ 31.614917][ T166] ? __send_to_port+0x420/0x420 [ 31.614918][ T166] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.614923][ T166] ? validate_chain+0x38b/0xc20 [ 31.614928][ T166] hvc_console_print+0x292/0x780 [ 31.614935][ T166] ? hvc_write+0x3a0/0x3a0 [ 31.614937][ T166] ? rcu_is_watching+0x16/0xd0 [ 31.614939][ T166] ? lock_acquire+0x13c/0x160 [ 31.614943][ T166] console_emit_next_record+0x22f/0x4c0 [ 31.614947][ T166] ? devkmsg_read+0x4b0/0x4b0 [ 31.614949][ T166] ? console_flush_one_record+0x106/0x710 [ 31.614952][ T166] ? rcu_is_watching+0x16/0xd0 [ 31.614954][ T166] ? lock_acquire+0x13c/0x160 [ 31.614958][ T166] console_flush_one_record+0x46f/0x710 [ 31.614962][ T166] ? console_emit_next_record+0x4c0/0x4c0 [ 31.614964][ T166] ? __lock_acquire+0x518/0xc20 [ 31.614969][ T166] console_unlock+0xee/0x1f0 [ 31.614972][ T166] ? console_flush_one_record+0x710/0x710 [ 31.614974][ T166] ? rcu_is_watching+0x16/0xd0 [ 31.614976][ T166] ? lock_acquire+0x60/0x160 [ 31.614979][ T166] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.614981][ T166] ? vprintk_emit+0x320/0x3e0 [ 31.614985][ T166] vprintk_emit+0x37c/0x3e0 [ 31.614988][ T166] ? wake_up_klogd_work_func+0x90/0x90 [ 31.614992][ T166] ? __lock_acquire+0x518/0xc20 [ 31.614995][ T166] _printk+0xc7/0x100 [ 31.614999][ T166] ? snapshot_read.cold+0x21/0x21 [ 31.615002][ T166] ? do_raw_spin_lock+0x131/0x280 [ 31.615004][ T166] ? __rwlock_init+0x150/0x150 [ 31.615008][ T166] ? do_raw_spin_lock+0x131/0x280 [ 31.615011][ T166] do_exit.cold+0x82/0x9c [ 31.615014][ T166] ? exit_notify+0x890/0x890 [ 31.615016][ T166] ? __lock_release.isra.0+0x69/0x1a0 [ 31.615018][ T166] ? rcu_is_watching+0x16/0xd0 [ 31.615022][ T166] do_group_exit+0xb8/0x370 [ 31.615025][ T166] __x64_sys_exit_group+0x3c/0x50 [ 31.615027][ T166] x64_sys_call+0x1567/0x1570 [ 31.615030][ T166] do_syscall_64+0xff/0x530 [ 31.615034][ T166] ? exc_page_fault+0xee/0x100 [ 31.615036][ T166] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.615039][ T166] RIP: 0033:0x7fe7d06e91b8 [ 31.615041][ T166] Code: Unable to access opcode bytes at 0x7fe7d06e918e. [ 31.615042][ T166] RSP: 002b:00007ffd5fd64b88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 31.615045][ T166] RAX: ffffffffffffffda RBX: 00007fe7d0819f88 RCX: 00007fe7d06e91b8 [ 31.615046][ T166] RDX: 00007fe7d0627ec8 RSI: ffffffffffffff90 RDI: 0000000000000000 [ 31.615047][ T166] RBP: 00007ffd5fd64be0 R08: 0000000000000000 R09: 0000000000000000 [ 31.615048][ T166] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000415de0 [ 31.615048][ T166] R13: 0000000000000000 R14: 00007fe7d0818680 R15: 00007fe7d0819fa0 [ 31.615055][ T166]