Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757185Ab0GRT1j (ORCPT ); Sun, 18 Jul 2010 15:27:39 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:42291 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757153Ab0GRT1g (ORCPT ); Sun, 18 Jul 2010 15:27:36 -0400 MIME-Version: 1.0 In-Reply-To: <1279478630.12913.15.camel@gandalf.stny.rr.com> References: <20100714154923.947138065@efficios.com> <20100714155804.049012415@efficios.com> <20100714170617.GB4955@Krystal> <20100714203940.GC22096@Krystal> <20100714222115.GA30122@Krystal> <4C42DF9A.5090908@redhat.com> <1279478630.12913.15.camel@gandalf.stny.rr.com> Date: Sun, 18 Jul 2010 12:26:59 -0700 Message-ID: Subject: Re: [patch 1/2] x86_64 page fault NMI-safe From: Linus Torvalds To: rostedt@goodmis.org Cc: Avi Kivity , Mathieu Desnoyers , LKML , Andrew Morton , Ingo Molnar , Peter Zijlstra , 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 , "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: 987 Lines: 23 On Sun, Jul 18, 2010 at 11:43 AM, Steven Rostedt wrote: > > Are you sure you don't want to use Mathieu's 2/2 patch? Yeah, I'm pretty sure. Unless somebody can show that it's faster, I really don't want to muck with regular iret's. Also, as shown during the discussion, even with Mathieu's 2/2 patch, we'd _still_ need NMI to also save cr2 etc. So the sane thing to do is to put all the NMI crap where it belongs. NMI's need to know about the fact that them taking exceptions is special. That whole "vmalloc_sync_all()" is simply pure brokenness. In other words, it is _not_ just about 'iret' fixup. It's a bigger thing. NMI's are special, and we don't want to spread that specialness around. 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/