From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756205AbZAYL64 (ORCPT ); Sun, 25 Jan 2009 06:58:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752969AbZAYL6r (ORCPT ); Sun, 25 Jan 2009 06:58:47 -0500 Received: from www.tglx.de ([62.245.132.106]:42089 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752896AbZAYL6q (ORCPT ); Sun, 25 Jan 2009 06:58:46 -0500 Date: Sun, 25 Jan 2009 12:57:47 +0100 (CET) From: Thomas Gleixner To: Andrew Morton cc: Maciej Rutecki , Linus Torvalds , "Rafael J. Wysocki" , Linux Kernel Mailing List , Ingo Molnar , Rusty Russell Subject: Re: [Linux 2.6.29-rc2] BUG: using smp_processor_id() in preemptible In-Reply-To: <20090124183746.395f597b.akpm@linux-foundation.org> Message-ID: References: <8db1092f0901170058k325dc6ddtddb42deea1ddd098@mail.gmail.com> <20090124183746.395f597b.akpm@linux-foundation.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 24 Jan 2009, Andrew Morton wrote: > > Coming out of the hrtimer_hres_active() call, I assume. Yes. > Is this new behaviour, or were 2.6.28 and earlier doing it? This code is there since highres was merged, but something seems to have changed in the suspend/resume code as I'm pretty sure, that this code was always called with interrupts disabled. > a) remove the wrong "Called with interrupts disabled via > on_each_cpu()" comment from retrigger_next_event(), and replace it > with something useful and truthful. Good point. > b) change hres_timers_resume() to do local_irq_save/restore Right, but I'd like to know what changed below. Thanks, tglx