The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	john stultz <johnstul@us.ibm.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.14-rc5-rt6  -- False NMI lockup detects
Date: Tue, 25 Oct 2005 16:28:48 +0200	[thread overview]
Message-ID: <20051025142848.GA7642@elte.hu> (raw)
In-Reply-To: <1130250219.21118.11.camel@localhost.localdomain>


* Steven Rostedt <rostedt@goodmis.org> wrote:

> Hi Ingo and Thomas,
> 
> On some of my machines, I've been experiencing false NMI lockups.  
> This usually happens on slower machines, and taking a look into this, 
> it seems to be due to a short time where no processes are using 
> timers, and the ktimer interrupts aren't needed. So the APIC timer, 
> which now is used only for the ktimers, has a five second pause, and 
> causes the NMI to go off.  The NMI uses the apic timer to determine 
> lockups.

this would be a bug - the jiffy tick should be processed every 1 msec, 
regardless of whether there are any ktimers pending. (in the future we 
want to use a special ktimer for the jiffy tick, but that's not 
implemented yet.)

> So, I added a more generic method. This only works for x86 for now, 
> but it has a #ifdef to keep other archs working until it implements 
> this as well.  I added a nmi_irq_incr which is called by __do_IRQ in 
> the generic code.  This is what is used in the NMI code to determine 
> if the CPU has locked up.  This way we don't have to worry about what 
> resource we are using for timers.

this will be useful for tickless stuff - but right now 'no APIC timer 
irq for 5 seconds' is a 'must not happen'.

	Ingo

  reply	other threads:[~2005-10-25 14:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-25 14:23 2.6.14-rc5-rt6 -- False NMI lockup detects Steven Rostedt
2005-10-25 14:28 ` Ingo Molnar [this message]
2005-10-25 19:24   ` Steven Rostedt
2005-10-25 19:40     ` Thomas Gleixner
2005-10-25 20:00     ` George Anzinger
2005-10-25 20:10       ` Steven Rostedt
2005-10-26 11:27       ` Steven Rostedt
2005-11-01 11:33 ` Ingo Molnar
2005-11-01 17:41   ` Steven Rostedt

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=20051025142848.GA7642@elte.hu \
    --to=mingo@elte.hu \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.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