[ 98.190360][ T118] su (118) used greatest stack depth: 24072 bytes left [ 98.190377][ T118] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 98.190378][ T118] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 118, name: su [ 98.190380][ T118] preempt_count: 2, expected: 0 [ 98.190381][ T118] RCU nest depth: 0, expected: 0 [ 98.190381][ T118] locks held by su/118: 5, last CPU#3: [ 98.190383][ T118] #0: ffffffffb5a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 98.190394][ T118] #1: ffffffffb5b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 98.190399][ T118] #2: ffffffffb5b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 98.190403][ T118] #3: ffffffffb5a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 98.190407][ T118] #4: ffffffffb5a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 98.190411][ T118] irq event stamp: 149312 [ 98.190412][ T118] hardirqs last enabled at (149311): [] __down_trylock_console_sem+0x86/0xa0 [ 98.190415][ T118] hardirqs last disabled at (149312): [] console_emit_next_record+0x3d4/0x4c0