Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755916Ab0GNTz0 (ORCPT ); Wed, 14 Jul 2010 15:55:26 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:39672 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752526Ab0GNTzZ (ORCPT ); Wed, 14 Jul 2010 15:55:25 -0400 MIME-Version: 1.0 In-Reply-To: <20100714193652.GA13630@nowhere> References: <20100714154923.947138065@efficios.com> <20100714155804.049012415@efficios.com> <20100714170617.GB4955@Krystal> <20100714184642.GA9728@elte.hu> <20100714193652.GA13630@nowhere> Date: Wed, 14 Jul 2010 12:54:19 -0700 Message-ID: Subject: Re: [patch 1/2] x86_64 page fault NMI-safe From: Linus Torvalds To: Frederic Weisbecker Cc: Ingo Molnar , Mathieu Desnoyers , LKML , Andrew Morton , Peter Zijlstra , Steven Rostedt , Steven Rostedt , Thomas Gleixner , Christoph Hellwig , Li Zefan , Lai Jiangshan , Johannes Berg , Masami Hiramatsu , Arnaldo Carvalho de Melo , Tom Zanussi , KOSAKI Motohiro , Andi Kleen , "H. Peter Anvin" , Jeremy Fitzhardinge , "Frank Ch. Eigler" , Tejun Heo Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 672 Lines: 17 On Wed, Jul 14, 2010 at 12:36 PM, Frederic Weisbecker wrote: > > There is also the fact we need to handle the lost NMI, by defering its > treatment or so. That adds even more complexity. I don't think your read my proposal very deeply. It already handles them by taking a fault on the iret of the first one (that's why we point to the stack frame - so that we can corrupt it and force a fault). Linus -- 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/