lkml.org 
[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: + printk-add-printk_delay-to-make-messages-readable-for-some-scenarios .patch added to -mm tree

two minor comments:

> +++ a/kernel/printk.c
> @@ -640,6 +640,19 @@ static int recursion_bug;
> static int new_text_line = 1;
> static char printk_buf[1024];
>
> +int printk_delay_msec;

should be __read_mostly.

> +
> +static inline void printk_delay(void)
> +{
> + if (unlikely(printk_delay_msec)) {
> + int m = printk_delay_msec;
> + while (m--) {

newline needed after local variable.

Ingo


\
 
 \ /
  Last update: 2009-06-23 09:23    [W:0.052 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site