Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757612Ab1EXVe1 (ORCPT ); Tue, 24 May 2011 17:34:27 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:44695 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752792Ab1EXVe0 (ORCPT ); Tue, 24 May 2011 17:34:26 -0400 Subject: Re: [RFC 0/9] mce recovery for Sandy Bridge server From: Peter Zijlstra To: Linus Torvalds Cc: Tony Luck , Borislav Petkov , Ingo Molnar , "linux-kernel@vger.kernel.org" , "Huang, Ying" , Andi Kleen , Borislav Petkov , Andrew Morton , Mauro Carvalho Chehab In-Reply-To: References: <4ddad79317108eb33d@agluck-desktop.sc.intel.com> <20110524034023.GB25230@elte.hu> <987664A83D2D224EAE907B061CE93D5301D5D0595B@orsmsx505.amr.corp.intel.com> <20110524173326.GA7635@gere.osrc.amd.com> <1306272274.2497.73.camel@laptop> Content-Type: text/plain; charset="UTF-8" Date: Tue, 24 May 2011 23:37:42 +0200 Message-ID: <1306273062.2497.80.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 887 Lines: 21 On Tue, 2011-05-24 at 14:30 -0700, Linus Torvalds wrote: > On Tue, May 24, 2011 at 2:24 PM, Peter Zijlstra wrote: > > > > Right, so you can't do things like that from NMI context, but what perf > > can do is raise a self-IPI and continue from IRQ context (question for > > the HW folks, can there be cycles between the NMI iret and IRQ assert > > from whatever context was before the NMI hit?) > > Of course there can be - the code where the NMI hit may have > interrupts disabled. D'0h yes of course!.. Then I can't immediately see a way to stop a thread dead in its tracks. Userspace yes, but not kernel-space. -- 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/