From: Ingo Molnar <mingo@elte.hu>
To: Valdis.Kletnieks@vt.edu
Cc: "Aristeu Rozanski" <aris@redhat.com>,
"Thomas Gleixner" <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
"Peter Zijlstra" <a.p.zijlstra@chello.nl>,
"Frédéric Weisbecker" <fweisbec@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] x86: introduce NMI_AUTO as nmi_watchdog option
Date: Wed, 4 Nov 2009 18:42:53 +0100 [thread overview]
Message-ID: <20091104174253.GB16091@elte.hu> (raw)
In-Reply-To: <38974.1257337997@turing-police.cc.vt.edu>
* Valdis.Kletnieks@vt.edu <Valdis.Kletnieks@vt.edu> wrote:
> On Wed, 04 Nov 2009 12:46:30 +0100, Ingo Molnar said:
>
> > What i'd like to see for the NMI watchdog is much more ambitious
> > than this: the use of perf events to run a periodic NMI callback.
> >
> > The NMI watchdog would cause the creation of a per-cpu perf_event
> > structure (in-kernel). All x86 CPUs that have perf event support
> > (the majority of them) will thus be able to have an NMI watchdog
> > using a nice, generic piece of code and we'd be able to phase out
> > the open-coded NMI watchdog code.
>
> What happens on older/smaller x86 CPUs that don't have any native
> support for perf events?
I think we want to keep their NMI watchdog implementation - but new work
should go towards a perf-events based NMI watchdog.
Note that in practice a working NMI watchdog implementation on an
old/small x86 CPU can be taken and turned into a minimal PMU driver: one
that can provide cycle based NMI events. There's no 'full' PMU support
needed to get a fair amount of perf events functionality - and some of
those CPUs dont even have a PMU.
So there's no hardware barrier of entry.
Ingo
next prev parent reply other threads:[~2009-11-04 17:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-03 17:10 Aristeu Rozanski
2009-11-04 11:46 ` Ingo Molnar
2009-11-04 12:33 ` Valdis.Kletnieks
2009-11-04 17:42 ` Ingo Molnar [this message]
2009-11-04 15:19 ` Aristeu Rozanski
2009-11-04 15:56 ` Ingo Molnar
2009-11-05 10:57 ` Mikael Pettersson
2009-11-08 8:57 ` Ingo Molnar
2009-11-09 20:02 ` Aristeu Rozanski
2009-11-10 5:20 ` Ingo Molnar
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=20091104174253.GB16091@elte.hu \
--to=mingo@elte.hu \
--cc=Valdis.Kletnieks@vt.edu \
--cc=a.p.zijlstra@chello.nl \
--cc=aris@redhat.com \
--cc=fweisbec@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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®