From: Rusty Trivial Russell <rusty@rustcorp.com.au>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [TRIVIAL] Remove chatty printk on CPU bringup.
Date: Mon, 07 Jul 2003 17:56:39 +1000 [thread overview]
Message-ID: <20030707080052.30EE12C3C4@lists.samba.org> (raw)
From: Rusty Russell <rusty@rustcorp.com.au>
Linus, please apply.
The printk is useless, and on archs where cpu_possible(i) is always
true, it spams the console.
Thanks,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
--- trivial-2.5.74-bk4/init/main.c.orig 2003-07-07 17:36:51.000000000 +1000
+++ trivial-2.5.74-bk4/init/main.c 2003-07-07 17:36:51.000000000 +1000
@@ -342,10 +342,8 @@
for (i = 0; i < NR_CPUS; i++) {
if (num_online_cpus() >= max_cpus)
break;
- if (cpu_possible(i) && !cpu_online(i)) {
- printk("Bringing up %i\n", i);
+ if (cpu_possible(i) && !cpu_online(i))
cpu_up(i);
- }
}
/* Any cleanup work */
--
What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
Don't blame me: the Monkey is driving
File: Rusty Russell <rusty@rustcorp.com.au>: [PATCH] Remove chatty printk on CPU bringup.
reply other threads:[~2003-07-07 7:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030707080052.30EE12C3C4@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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
all inboxes | Powered by JetHome®