Re: scsi: Implement per-cpu logging buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux