From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762798AbYESSmU (ORCPT ); Mon, 19 May 2008 14:42:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751430AbYESSmJ (ORCPT ); Mon, 19 May 2008 14:42:09 -0400 Received: from nf-out-0910.google.com ([64.233.182.184]:22798 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074AbYESSmI (ORCPT ); Mon, 19 May 2008 14:42:08 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=hCVy1QI/egaJjVkt3X4Y7lwtqROfK4kmhE2ZdnxfSG1BFra9PaOxqChnJfLm3w0v8Pgb/w7eWbR9CFB894EZbW6+gwzDgVYTqBYikcFmmV+HMYAI6TbTkaSjJ9D/zZqLYH+3YldLoUzpNwHqO71xCAAGd+F5jByYZkgAq+vLzhY= Date: Mon, 19 May 2008 22:41:53 +0400 From: Cyrill Gorcunov To: Thomas Gleixner , Mikael Pettersson , "Maciej W. Rozycki" , Tom Spink , Ingo Molnar , "H. Peter Anvin" , LKML , Jiri Slaby , Andi Kleen Subject: Re: [RFC] x86: merge nmi_32-64 to nmi.c Message-ID: <20080519184153.GE7773@cvg> References: <20080517192200.GA6914@cvg> <7b9198260805171328u555eec17t3597f3378edbda88@mail.gmail.com> <18479.21161.437325.251769@harpo.it.uu.se> <20080519180753.GB7773@cvg> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519180753.GB7773@cvg> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Cyrill Gorcunov - Mon, May 19, 2008 at 10:07:53PM +0400] | Btw, if someone is still watching this thread - I've found a bit strange | behaviour of nmi on 32bit platform. Look, we have | | nmi_watchdog = NMI_DEFAULT | | by default which is the alias to NMI_DISABLED. Then lets assume that | user put some option on command line, say for example he passes something | like that | | nmi_watchdog=2 | | which set it to | | nmi_watchdog = NMI_LOCAL_APIC | | with only that option passed we have sysfs entry created | but I can't figure out why in proc_nmi_enabled() we have this | code | | if (nmi_watchdog == NMI_DEFAULT) { | if (lapic_watchdog_ok()) | nmi_watchdog = NMI_LOCAL_APIC; | else | nmi_watchdog = NMI_IO_APIC; | } | | it seems it just _dont need_ at and could be safetly removed. | Did I miss something? | | - Cyrill - Ah, I found... sorry for noise, I'm shutting up ;) - Cyrill -