From: John Levon <levon@movementarian.org>
To: Corey Minyard <cminyard@mvista.com>
Cc: "'Zwane Mwaikambo'" <zwane@holomorphy.com>, linux-kernel@vger.kernel.org
Subject: Re: NMI handling rework for x86
Date: Fri, 15 Nov 2002 19:28:42 +0000 [thread overview]
Message-ID: <20021115192842.GC83229@compsoc.man.ac.uk> (raw)
In-Reply-To: <3DD5444E.9070808@mvista.com>
[cc trimmed]
On Fri, Nov 15, 2002 at 01:00:30PM -0600, Corey Minyard wrote:
> If the NMI watchdog doesn't handle an interrupt, it will not re-enable
> the watchdog (in local APIC mode). If there is no other source of NMIs,
> then it will never run. It will get hit when the timer wraps around, I
> guess, but that could be a LONG time.
oprofile enabled: source of NMIs, check for apic irqs gets triggered,
all is OK
oprofile disabled: oprofile disable restores the perfctr settings, so
NMI watchdog is as before, all is OK
So this patch actually allows the NMI watchdog to work when oprofile is
running, which it didn't before, which is neat.
> I have attached another patch, this one fixes my stupid bug in
> dummy_watchdog_reset and also adds code to the NMI watchdog to not
OK great.
> I have also created a kernel module that loops requesting and releasing
> the NMI, and counting the number of NMIs that actually get hit by the
> handler that is installed.. This is on a dual 2.8GHZ Pentium 4 machine
> with hyperthreading (so 4 processors, sort of). I have six processes
> doing the request/release and some other processes eating CPU on each
> processor. This has been running for almost three hours, about
> 10,000,000 NMIs have occurred (around 1000/sec). Around 4700 NMIs have
> been caught by the handler, meaning that it was a close race between the
> removal and the NMI occurring. So it looks good.
Can you send me the test module so I don't have to bother writing one
myself ?
I'll try to test this weekend
regards
john
next prev parent reply other threads:[~2002-11-15 19:21 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 4:30 NMI handling rework for x86 Corey Minyard
2002-11-15 4:40 ` Zwane Mwaikambo
2002-11-15 6:10 ` Dipankar Sarma
2002-11-15 7:40 ` Zwane Mwaikambo
2002-11-15 8:13 ` Dipankar Sarma
2002-11-15 8:18 ` Zwane Mwaikambo
2002-11-15 8:50 ` Dipankar Sarma
2002-11-15 17:41 ` John Levon
2002-11-15 22:46 ` Zwane Mwaikambo
2002-11-15 5:12 ` John Levon
2002-11-15 5:19 ` John Levon
2002-11-15 14:13 ` Corey Minyard
2002-11-15 17:48 ` John Levon
2002-11-15 19:00 ` Corey Minyard
2002-11-15 19:28 ` John Levon [this message]
2002-11-15 19:35 ` Corey Minyard
2002-11-17 2:00 ` John Levon
2002-11-17 2:31 ` Zwane Mwaikambo
2002-11-18 16:48 ` Corey Minyard
2002-11-18 15:34 ` Corey Minyard
2002-11-15 5:20 ` Randy.Dunlap
2002-11-15 9:50 ` Mikael Pettersson
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=20021115192842.GC83229@compsoc.man.ac.uk \
--to=levon@movementarian.org \
--cc=cminyard@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zwane@holomorphy.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