Messages in this thread | | | Date | Thu, 11 Dec 2014 11:41:21 -0800 | Subject | Re: [GIT PULL] tracing/NMI/printk: Use seq_buf for safe printing from NMI context | From | Linus Torvalds <> |
| |
On Thu, Dec 11, 2014 at 3:33 AM, Steven Rostedt <rostedt@goodmis.org> wrote: > > So you are saying that anytime the printk_func is not the default, the > caller had to have disable preemption?
Yes. That, or change all of the vprintk_func entries. Otherwise, the caller itself obviously doesn't know which cpu version it would get, so disabling preemption inside printk is simply much too late.
Linus
| |