[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090623071944.GB5747@elte.hu>
Date: Tue, 23 Jun 2009 09:19:44 +0200
From: Ingo Molnar <mingo@...e.hu>
To: akpm@...ux-foundation.org
Cc: mm-commits@...r.kernel.org, hidave.darkstar@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: +
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists