From: Keith Owens <kaos@ocs.com.au>
To: george anzinger <george@mvista.com>
Cc: mingo@elte.hu, Andrew Morton <andrewm@uow.edu.au>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [patch] serial console vs NMI watchdog
Date: Mon, 12 Mar 2001 16:52:07 +1100 [thread overview]
Message-ID: <20142.984376327@ocs3.ocs-net> (raw)
In-Reply-To: Your message of "Sun, 11 Mar 2001 20:43:16 -0800." <3AAC53E4.A8BECB23@mvista.com>
On Sun, 11 Mar 2001 20:43:16 -0800,
george anzinger <george@mvista.com> wrote:
>Consider this. Why not use the NMI to sync the cpus. Kdb would have a
>function that is called each NMI.
kdb uses NMI IPI to get the other cpu's attention. One cpu is in
control and may or may not be accepting NMI, it depends on the event
that entered kdb. The other cpus end up in kdb code, spinning waiting
for a cpu switch. Initially they are not receiving NMI because they
were invoked via NMI which is masked until they exit. However if the
user does a cpu switch then single steps the interrupted code, the cpu
has to return from the NMI handler to the interrupted code at which
time this cpu starts receiving NMI again.
The kdb context can change from ignoring NMI to accepting NMI. It is
easier to bring all the cpus into kdb and let the kdb code decide if it
ignores any NMI that is being received.
next prev parent reply other threads:[~2001-03-12 5:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-09 14:21 [patch] serial console vs NMI watchdog Andrew Morton
2001-03-09 16:35 ` Ion Badulescu
2001-03-10 2:41 ` Andrew Morton
2001-03-09 22:23 ` Robert Read
2001-03-11 7:44 ` Ingo Molnar
2001-03-11 7:52 ` Keith Owens
2001-03-11 7:53 ` Ingo Molnar
2001-03-11 8:00 ` Keith Owens
2001-03-11 8:16 ` Andrew Morton
2001-03-11 9:01 ` [patch] nmi-watchdog-2.4.2-A1 Ingo Molnar
2001-03-11 10:08 ` Andrew Morton
2001-03-11 15:04 ` [patch] nmi-watchdog-2.4.2-A2 Ingo Molnar
2001-03-12 4:43 ` [patch] serial console vs NMI watchdog george anzinger
2001-03-12 5:52 ` Keith Owens [this message]
2001-03-12 8:27 ` george anzinger
2001-03-12 8:41 ` Keith Owens
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=20142.984376327@ocs3.ocs-net \
--to=kaos@ocs.com.au \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andrewm@uow.edu.au \
--cc=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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