From: Andrew Morton <akpm@linux-foundation.org>
To: Don Zickus <dzickus@redhat.com>
Cc: LKML <linux-kernel@vger.kernel.org>, nzimmer@sgi.com, joe@perches.com
Subject: Re: [PATCH v2] watchdog: Quiet down the boot messages
Date: Fri, 8 Jun 2012 14:39:28 -0700 [thread overview]
Message-ID: <20120608143928.f84822cc.akpm@linux-foundation.org> (raw)
In-Reply-To: <1339189389-731-1-git-send-email-dzickus@redhat.com>
On Fri, 8 Jun 2012 17:03:09 -0400
Don Zickus <dzickus@redhat.com> wrote:
> A bunch of bugzillas have complained how noisy the nmi_watchdog is during
> boot-up especially with its expected failure cases (like virt and bios
> resource contention).
>
> This is my attempt to quiet them down and keep it less confusing for the end
> user. What I did is print the message for cpu0 and save it for future
> comparisons. If future cpus have an identical message as cpu0, then don't
> print the redundant info. However, if a future cpu has a different message,
> happily print that loudly.
>
> Before the change, you would see something like:
>
> ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
> CPU0: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz stepping 0a
> Performance Events: PEBS fmt0+, Core2 events, Intel PMU driver.
> ... version: 2
> ... bit width: 40
> ... generic registers: 2
> ... value mask: 000000ffffffffff
> ... max period: 000000007fffffff
> ... fixed-purpose events: 3
> ... event mask: 0000000700000003
> NMI watchdog enabled, takes one hw-pmu counter.
> Booting Node 0, Processors #1
> NMI watchdog enabled, takes one hw-pmu counter.
> #2
> NMI watchdog enabled, takes one hw-pmu counter.
> #3 Ok.
> NMI watchdog enabled, takes one hw-pmu counter.
> Brought up 4 CPUs
> Total of 4 processors activated (22607.24 BogoMIPS).
>
> After the change, it is simplified to:
>
> ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
> CPU0: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz stepping 0a
> Performance Events: PEBS fmt0+, Core2 events, Intel PMU driver.
> ... version: 2
> ... bit width: 40
> ... generic registers: 2
> ... value mask: 000000ffffffffff
> ... max period: 000000007fffffff
> ... fixed-purpose events: 3
> ... event mask: 0000000700000003
> NMI watchdog enabled, takes one hw-pmu counter.
> Booting Node 0, Processors #1 #2 #3 Ok.
> Brought up 4 CPUs
What is the behaviour of this change at suspend/resume time?
> + if (cpu ==0 || cpu0_err)
Please use checkpatch. It's free!
next prev parent reply other threads:[~2012-06-08 21:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-08 21:03 [PATCH v2] watchdog: Quiet down the boot messages Don Zickus
2012-06-08 21:39 ` Andrew Morton [this message]
2012-06-11 19:54 ` Don Zickus
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=20120608143928.f84822cc.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=dzickus@redhat.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nzimmer@sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.