From: Dave Young <hidave.darkstar@gmail.com>
To: linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>
Subject: [PATCH 1/2] printk delay for each line break instead of callback
Date: Sat, 6 Feb 2010 21:34:25 +0800 [thread overview]
Message-ID: <20100206133425.GA2562@darkstar> (raw)
printk delay for every callback does not make sense, change to delay every line
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
---
kernel/printk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.orig/kernel/printk.c 2010-02-02 13:38:47.646659531 +0800
+++ linux-2.6/kernel/printk.c 2010-02-02 13:39:19.446657319 +0800
@@ -678,7 +678,6 @@ asmlinkage int vprintk(const char *fmt,
char *p;
boot_delay_msec();
- printk_delay();
preempt_disable();
/* This stops the holder of console_sem just where we want him */
@@ -746,6 +745,7 @@ asmlinkage int vprintk(const char *fmt,
*/
for ( ; *p; p++) {
if (new_text_line) {
+ printk_delay();
/* Always output the token */
emit_log_char('<');
emit_log_char(current_log_level + '0');
next reply other threads:[~2010-02-06 13:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-06 13:34 Dave Young [this message]
2010-02-08 22:06 ` [PATCH 1/2] printk delay for each line break instead of callback Andrew Morton
2010-02-09 2:44 ` Dave Young
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100206133425.GA2562@darkstar \
--to=hidave.darkstar@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox