From: a.p.zijlstra@chello.nl (Peter Zijlstra)
To: linux-arm-kernel@lists.infradead.org
Subject: HW perf initialisation as early_initcall
Date: Wed, 23 Nov 2011 16:57:31 +0100 [thread overview]
Message-ID: <1322063851.14799.77.camel@twins> (raw)
In-Reply-To: <20111123153016.GQ25848@mudshark.cambridge.arm.com>
On Wed, 2011-11-23 at 15:30 +0000, Will Deacon wrote:
> We don't use this on ARM so I'm not familiar with it.
>
NMI watchdog is basically a perf counter that fires every few seconds
and checks if the system is still making progress (much like the regular
soft watchdog stuff we have). If it thinks we're stuck it prints stack
traces to the console etc..
Handy for if you do dumb stuff like:
local_irq_disable();
while (1)
;
Which oddly enough seems to happen way too often ;-)
Anyway, it all depends on having NMIs in the first place.
prev parent reply other threads:[~2011-11-23 15:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-23 14:56 HW perf initialisation as early_initcall Will Deacon
2011-11-23 15:08 ` Peter Zijlstra
2011-11-23 15:30 ` Will Deacon
2011-11-23 15:57 ` Peter Zijlstra [this message]
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=1322063851.14799.77.camel@twins \
--to=a.p.zijlstra@chello.nl \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).