lkml.org 
[lkml]   [2015]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: scsi: Implement per-cpu logging buffer
On Fri, 13 Feb 2015, Hannes Reinecke wrote:

> Thing is, if we were to use per-CPU buffers for printk() out of
> necessity we have to queue these buffers for writing out. So there is a
> time window during which the message already is in the per-CPU buffer
> but still not printed out as printk() is currently writing out one of
> the other per-CPU buffers.

Please also take a look at per-CPU printk() function redirection mechanism
that got added because of printk()-from-NMI madness ('printk_func'
pointer). It might be useful for your purposes as well.

--
Jiri Kosina
SUSE Labs



\
 
 \ /
  Last update: 2015-02-17 14:21    [W:0.072 / U:4.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site