[lkml]   [2014]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/5] printk: Use whole ring buffer + some clean up
I have found few small problems when working on safe printk in NMI context.
The NMI stuff still needs some love. Here is the independent stuff that is
ready to go.

1st and 5th patch do small optimizations. They remove a duplicate computation.

2nd patch removes some unused code.

3rd patch adds a comment that would have saved me some time when trying to
understand the code. Well, maybe it is useful only for kernel newbies
like me ;-)

4th patch fixes two problems from the "by-one" department. They caused that
we have newer used the last 4 bytes of the ring buffer.

Petr Mladek (5):
printk: Remove duplicated check for log level
printk: Remove obsolete check for log level "c"
printk: Add comment about tricky check for text buffer size
printk: Use also the last bytes in the ring buffer
printk: Do not compute the size of the message twice

include/linux/printk.h | 10 +++-------
kernel/printk/printk.c | 13 ++++++++-----
2 files changed, 11 insertions(+), 12 deletions(-)


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