From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757313AbYDGWCr (ORCPT ); Mon, 7 Apr 2008 18:02:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754607AbYDGWCk (ORCPT ); Mon, 7 Apr 2008 18:02:40 -0400 Received: from [88.44.63.6] ([88.44.63.6]:50442 "EHLO smtp-out04.alice-dsl.net" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752719AbYDGWCj (ORCPT ); Mon, 7 Apr 2008 18:02:39 -0400 To: Jiri Kosina Cc: Zdenek Kabelac , Kernel development list , Ingo Molnar , Thomas Gleixner Subject: Re: BUG: using smp_processor_id() during suspend with 2.6.25-rc8 From: Andi Kleen References: Date: Tue, 08 Apr 2008 00:02:17 +0200 In-Reply-To: (Jiri Kosina's message of "Mon, 7 Apr 2008 23:54:06 +0200 (CEST)") Message-ID: <87abk5qq6u.fsf@basil.nowhere.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 07 Apr 2008 21:55:34.0370 (UTC) FILETIME=[1B158420:01C898FA] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jiri Kosina writes: > > It is not safe to call smp_processor_id() in cases we are not sure someone > will not reschedule us. We are sure. Machine checks always run with interrupts off. Also BTW in a non preempt-rt kernel all exceptions run non preemptable anyways. -Andi