[RFC PATCH 07/11] printk: right ordering of the cont buffers from NMI context

2014-05-09 Thread Petr Mladek
When using the NMI log buffer, continuous messages were sometimes mixed after merging to the main log buffer. The problems are solved by the following two tricks. First, continuous messages are always put into the NMI log buffer if it already contains something. Second, the main cont buffer is

[RFC PATCH 07/11] printk: right ordering of the cont buffers from NMI context

2014-05-09 Thread Petr Mladek
When using the NMI log buffer, continuous messages were sometimes mixed after merging to the main log buffer. The problems are solved by the following two tricks. First, continuous messages are always put into the NMI log buffer if it already contains something. Second, the main cont buffer is