lkml.org 
[lkml]   [2011]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 21/21] tracing: Add optional percpu buffers for trace_printk()
From
Date
On Thu, 2011-09-22 at 18:09 -0400, Steven Rostedt wrote:
>
> Currently, trace_printk() uses a single buffer to write into
> to calculate the size and format needed to save the trace. To
> do this safely in an SMP environment, a spin_lock() is taken
> to only allow one writer at a time to the buffer. But this could
> also affect what is being traced, and add synchronization that
> would not be there otherwise.

so trace_printk() isn't NMI safe? #$%@^%@@$%@


\
 
 \ /
  Last update: 2011-09-23 13:05    [W:1.309 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site