Re: INFO: rcu detected stall in vprintk_emit
From: Sergey Senozhatsky <hidden>
Date: 2018-06-26 04:22:17
Also in:
lkml, netdev
From: Sergey Senozhatsky <hidden>
Date: 2018-06-26 04:22:17
Also in:
lkml, netdev
On (06/25/18 22:59), Steven Rostedt wrote:
quoted
Or ratelimited error reporting and cond_resched() [that would be option B]:I don't think this is a printk() issue per se, so I think Option B is the only option. You should not get stuck in an infinite loop if we run short on memory. Perhaps we could have an Option C which would exit this loop gracefully with some kind of error. But I haven't looked at the surrounding code to be sure if that is possible.
Agree. I like Option B - an endless loop is the root cause, at the same time filling up logbuf with useless data is useless. Can't tell if Option C is feasible, up to networking people. -ss