[ 11.130193][ T111] su (111) used greatest stack depth: 24104 bytes left [ 11.130218][ T111] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.130220][ T111] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 111, name: su [ 11.130222][ T111] preempt_count: 2, expected: 0 [ 11.130222][ T111] RCU nest depth: 0, expected: 0 [ 11.130223][ T111] locks held by su/111: 5, last CPU#2: [ 11.130226][ T111] #0: ffffffffac802f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 11.130238][ T111] #1: ffffffffac96a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.130243][ T111] #2: ffffffffac96a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.130247][ T111] #3: ffffffffac889de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.130250][ T111] #4: ffffffffac889ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.130254][ T111] irq event stamp: 168642 [ 11.130254][ T111] hardirqs last enabled at (168641): [] __down_trylock_console_sem+0x86/0xa0