Re: [RFC PATCH 14/17] printk: Add per_cpu printk func to allow printk to be diverted

2015-05-18 Thread Petr Mladek
On Thu 2015-05-14 11:35:01, Wang Long wrote: > From: "Steven Rostedt (Red Hat)" > > commit afdc34a3d3b823a12a93b822ee1efb566f884032 upstream. > > Being able to divert printk to call another function besides the normal > logging is useful for such things like NMI handling. If some functions > are

[RFC PATCH 14/17] printk: Add per_cpu printk func to allow printk to be diverted

2015-05-14 Thread Wang Long
From: "Steven Rostedt (Red Hat)" commit afdc34a3d3b823a12a93b822ee1efb566f884032 upstream. Being able to divert printk to call another function besides the normal logging is useful for such things like NMI handling. If some functions are to be called from NMI that does printk() it is possible to