Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759668AbYFDLNX (ORCPT ); Wed, 4 Jun 2008 07:13:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754240AbYFDLNP (ORCPT ); Wed, 4 Jun 2008 07:13:15 -0400 Received: from styx.suse.cz ([82.119.242.94]:58538 "EHLO mail.suse.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753100AbYFDLNO (ORCPT ); Wed, 4 Jun 2008 07:13:14 -0400 Date: Wed, 4 Jun 2008 13:13:13 +0200 (CEST) From: Jiri Kosina To: Thomas Gleixner cc: Zdenek Kabelac , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, avi@qumranet.com Subject: Re: BUG: using smp_processor_id() in preemptible [00000000] code: pm-suspend/17334 In-Reply-To: Message-ID: References: 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 Content-Length: 762 Lines: 21 On Wed, 4 Jun 2008, Thomas Gleixner wrote: > > OK, so it looks like KVM could be wrongly enabling IRQs/preemption on > > the resume path. The original bug-report is on > > http://lkml.org/lkml/2008/4/7/130 > sysdev_resume() is supposed to run with interrupts disabled, at least > it was that way when the timekeeping_resume code was written. True. However in Zdenek's case, interrupts/preemption gets enabled somewhere during the resume, which correctly triggers the warning. Thanks, -- Jiri Kosina SUSE Labs -- 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/