[ 16.407937][ T118] su (118) used greatest stack depth: 23744 bytes left [ 16.407959][ T118] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.407961][ T118] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 118, name: su [ 16.407963][ T118] preempt_count: 2, expected: 0 [ 16.407964][ T118] RCU nest depth: 0, expected: 0 [ 16.407965][ T118] locks held by su/118: 5, last CPU#3: [ 16.407967][ T118] #0: ffffffff9c2167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.407979][ T118] #1: ffffffff9c37ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.407984][ T118] #2: ffffffff9c37de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.407989][ T118] #3: ffffffff9c29d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.407993][ T118] #4: ffffffff9c29d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0