* debug keys (namely '*') vs. NMI watchdog (and softirqs)
@ 2010-12-14 9:48 Jan Beulich
2010-12-14 10:01 ` Keir Fraser
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2010-12-14 9:48 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
Processing particularly of '*' may take many seconds, and thus
interfere with the NMI watchdog (immediately terminal) as well as
handling of other softirqs, namely the time related ones (possibly
getting the system into bad state as we know from past
experience).
For the NMI watchdog, adding a Linux-like touch_nmi_watchdog()
would certainly help, but it would leave the softirq part
unaddressed. For that, in -unstable it would seem feasible to simply
sprinkle in calls to process_pending_softirqs() (e.g. between each
individual handler being called), but it's not immediately clear
whether the same would also hold for 4.0 and earlier, as tasklets
(and hence the handling of the non-IRQ key handlers) there get
processed in a softirq action handler. Would it be correct to have
yet another flavor of the wrappers around __do_softirq() for this
purpose, also filtering out TASKLET_SOFTIRQ?
Thanks, Jan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: debug keys (namely '*') vs. NMI watchdog (and softirqs)
2010-12-14 9:48 debug keys (namely '*') vs. NMI watchdog (and softirqs) Jan Beulich
@ 2010-12-14 10:01 ` Keir Fraser
0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2010-12-14 10:01 UTC (permalink / raw)
To: Jan Beulich, xen-devel@lists.xensource.com
On 14/12/2010 09:48, "Jan Beulich" <JBeulich@novell.com> wrote:
> Processing particularly of '*' may take many seconds, and thus
> interfere with the NMI watchdog (immediately terminal) as well as
> handling of other softirqs, namely the time related ones (possibly
> getting the system into bad state as we know from past
> experience).
>
> For the NMI watchdog, adding a Linux-like touch_nmi_watchdog()
> would certainly help, but it would leave the softirq part
> unaddressed. For that, in -unstable it would seem feasible to simply
> sprinkle in calls to process_pending_softirqs() (e.g. between each
> individual handler being called), but it's not immediately clear
> whether the same would also hold for 4.0 and earlier, as tasklets
> (and hence the handling of the non-IRQ key handlers) there get
> processed in a softirq action handler. Would it be correct to have
> yet another flavor of the wrappers around __do_softirq() for this
> purpose, also filtering out TASKLET_SOFTIRQ?
For 4.0.2? Yes, that's probably best. As you say it's not needed for
xen-unstable since tasklets execute in vcpu context there.
-- Keir
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-14 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 9:48 debug keys (namely '*') vs. NMI watchdog (and softirqs) Jan Beulich
2010-12-14 10:01 ` Keir Fraser
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).