From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756571Ab1K2UbO (ORCPT ); Tue, 29 Nov 2011 15:31:14 -0500 Received: from one.firstfloor.org ([213.235.205.2]:47825 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753470Ab1K2UbN (ORCPT ); Tue, 29 Nov 2011 15:31:13 -0500 Date: Tue, 29 Nov 2011 21:31:11 +0100 From: Andi Kleen To: Linus Torvalds Cc: Andi Kleen , Steven Rostedt , LKML , Ingo Molnar , Peter Zijlstra , "H. Peter Anvin" , Frederic Weisbecker , Thomas Gleixner , Mathieu Desnoyers , Paul Turner Subject: Re: Perhaps a side effect regarding NMI returns Message-ID: <20111129203111.GQ24062@one.firstfloor.org> References: <1322539673.17003.45.camel@frodo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 29, 2011 at 12:12:44PM -0800, Linus Torvalds wrote: > The problem is that NMI's are blocked! > > We're potentially switching to another process, there is no guarantee > there will be an "iret" *anywhere* in any patch for a long time. So > any subsequent NMI's will not be able to come in. True. That's a bug that needs to be fixed. As a simple fix your proposal of forcing IRET sounds good. -Andi