lkml.org 
[lkml]   [2014]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [GIT PULL] tracing/NMI/printk: Use seq_buf for safe printing from NMI context
From
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


\
 
 \ /
  Last update: 2014-12-11 21:21    [W:0.042 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site