Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 15 Nov 2002 00:05:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 15 Nov 2002 00:05:22 -0500 Received: from probity.mcc.ac.uk ([130.88.200.94]:29965 "EHLO probity.mcc.ac.uk") by vger.kernel.org with ESMTP id ; Fri, 15 Nov 2002 00:05:22 -0500 Date: Fri, 15 Nov 2002 05:12:07 +0000 From: John Levon To: Corey Minyard Cc: Linus Torvalds , "Heater, Daniel (IndSys, GEFanuc, VMIC)" , "'Zwane Mwaikambo'" , Dipankar Sarma , linux-kernel@vger.kernel.org Subject: Re: NMI handling rework for x86 Message-ID: <20021115051207.GA29779@compsoc.man.ac.uk> References: <3DD47858.3060404@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DD47858.3060404@mvista.com> User-Agent: Mutt/1.3.25i X-Url: http://www.movementarian.org/ X-Record: Mr. Scruff - Trouser Jazz X-Scanner: exiscan *18CYm1-00023b-00*18UF2C89MUk* (Manchester Computing, University of Manchester) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 22 On Thu, Nov 14, 2002 at 10:30:16PM -0600, Corey Minyard wrote: > Since a lot of things are hacking into this code (lkcd, kdb, oprofile, > nmi watchdog, and now my IPMI watchdog pretimeout), it would be very > nice to get their junk out of this code and allow them to bind in > nicely, and allow binding from modules. I've just noticed you haven't fixed the watchdog vs. oprofile case. You pass in the handled flag to the NMI watchdog handler, but you ignore the value and always do the perfctr reset. You /must/ only do the reset if handled == false, or you'll screw up oprofile when it's running. also, the diff would be much easier to read as a separate "mv nmi.c nmi_watchdog.c" then diff against that regards john - 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/