On Wed 2017-03-29 18:25:08, Sergey Senozhatsky wrote: > It's not always possible/safe to wake_up() printk kernel > thread from sysrq (theoretically). Thus we better switch > printk() to emergency mode in some of the sysrq handlers, > which allows us to immediately flush pending kernel message > to the console. > > Signed-off-by: Sergey Senozhatsky <sergey.senozhat...@gmail.com> > Suggested-by: Tetsuo Handa <penguin-ker...@i-love.sakura.ne.jp>
It looks like a decent selection. It is pity that some of them might produce rather long output and theoretically cause a softlookup. But I do not know about a better solution at the moment. In each case, it will not be worse than before this patchset. Reviewed-by: Petr Mladek <pmla...@suse.com> Best Regards, Petr