Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934736Ab0GOUq3 (ORCPT ); Thu, 15 Jul 2010 16:46:29 -0400 Received: from terminus.zytor.com ([198.137.202.10]:36081 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934699Ab0GOUq1 (ORCPT ); Thu, 15 Jul 2010 16:46:27 -0400 Message-ID: <4C3F7339.6070505@zytor.com> Date: Thu, 15 Jul 2010 13:44:41 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Thunderbird/3.0.5 MIME-Version: 1.0 To: Mathieu Desnoyers CC: Linus Torvalds , LKML , Andrew Morton , Ingo Molnar , Peter Zijlstra , Steven Rostedt , Steven Rostedt , Frederic Weisbecker , Thomas Gleixner , Christoph Hellwig , Li Zefan , Lai Jiangshan , Johannes Berg , Masami Hiramatsu , Arnaldo Carvalho de Melo , Tom Zanussi , KOSAKI Motohiro , Andi Kleen , Jeremy Fitzhardinge , "Frank Ch. Eigler" , Tejun Heo Subject: Re: [patch 1/2] x86_64 page fault NMI-safe References: <20100714170617.GB4955@Krystal> <20100714203940.GC22096@Krystal> <20100714222115.GA30122@Krystal> <20100715164450.GC30989@Krystal> <20100715173836.GA17376@Krystal> In-Reply-To: <20100715173836.GA17376@Krystal> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 990 Lines: 26 On 07/15/2010 10:38 AM, Mathieu Desnoyers wrote: >> >> Of course, if there is some trap that re-enables interrupts even if >> the trap happened in an interrupt-disabled region, then that would >> change things, but that would be a bad bug regardless (and totally >> independently of any NMI issues). So in that sense it's a "could >> happen", but it's something that would be a totally separate bug. > > Yep, this kind of scenario would therefore be a bug that does not belong to the > specific realm of nmis. > Yes, the only specific issue here is NMI -> trap -> IRET -> [nested NMI], which is what this whole thing is about. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- 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/