Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759416Ab0GPWln (ORCPT ); Fri, 16 Jul 2010 18:41:43 -0400 Received: from one.firstfloor.org ([213.235.205.2]:58751 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754185Ab0GPWlm (ORCPT ); Fri, 16 Jul 2010 18:41:42 -0400 Date: Sat, 17 Jul 2010 00:41:40 +0200 From: Andi Kleen To: Linus Torvalds Cc: Andi Kleen , Avi Kivity , "H. Peter Anvin" , Mathieu Desnoyers , 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 , Jeremy Fitzhardinge , "Frank Ch. Eigler" Subject: Re: [patch 2/2] x86 NMI-safe INT3 and Page Fault Message-ID: <20100716224140.GI7338@basil.fritz.box> References: <4C409CBA.1050709@redhat.com> <4C409F62.6030303@zytor.com> <4C40A1BD.4040507@redhat.com> <4C40A227.6000207@zytor.com> <4C40A4E8.5090605@redhat.com> <4C40B277.9030408@redhat.com> <20100716220730.GH7338@basil.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 812 Lines: 19 On Fri, Jul 16, 2010 at 03:26:32PM -0700, Linus Torvalds wrote: > On Fri, Jul 16, 2010 at 3:07 PM, Andi Kleen wrote: > > > > One issue I have with nesting NMIs is that you need > > a nesting limit, otherwise you'll overflow the NMI stack. > > Have you actually looked at the suggestion I (and now Mathieu) > suggested code for? Maybe I'm misunderstanding everything (and it has been a lot of emails in the thread), but the case I was thinking of would be if the second NMI faults too, and then another one comes in after the IRET etc. -Andi -- 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/