Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758689AbYHON1h (ORCPT ); Fri, 15 Aug 2008 09:27:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753999AbYHON1N (ORCPT ); Fri, 15 Aug 2008 09:27:13 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:50153 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753764AbYHON1M (ORCPT ); Fri, 15 Aug 2008 09:27:12 -0400 Date: Fri, 15 Aug 2008 15:26:46 +0200 From: Ingo Molnar To: David Witbrodt Cc: Yinghai Lu , linux-kernel@vger.kernel.org, "Paul E. McKenney" , Peter Zijlstra , Thomas Gleixner , "H. Peter Anvin" , netdev Subject: Re: HPET regression in 2.6.26 versus 2.6.25 -- question about NMI watchdog Message-ID: <20080815132646.GF30597@elte.hu> References: <445817.22956.qm@web82101.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <445817.22956.qm@web82101.mail.mud.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1383 Lines: 43 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * David Witbrodt wrote: > Quick question: a quick browse of 'Documentation/nmi_watchdog.txt' > suggests that I should use "nmi_watchdog=1", since I have SMP (CPU = > Athlon 64 X2, with CONFIG_SMP=y). Should I follow your suggestion > later, or follow the recommendation of the 'nmi_watchdog.txt' doc? you could try both, starting with nmi_watchdog=2 - and trying nmi_watchdog=1 if that doesnt work. The problem with nmi_watchdog=1 is that it disables high-res timers. (because it has to - it piggy-backs on the back of a periodic timer interrupt) you might even want to test the NMI watchdog with an intentional user-space hard lockup - with the attached lockupcli.c program. (Warning: if you run it as root it will really lock up your box hard. Run it from a VGA text mode console to see any console messages.) Ingo --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="lockupcli.c" main () { iopl(3); for (;;) asm("cli"); } --zhXaljGHf11kAtnf-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/