From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [ACPI] ACPI using smp_processor_id in preemptible code Date: Mon, 10 Jan 2005 10:55:08 +0100 Message-ID: <20050110095508.GJ1353@elf.ucw.cz> References: <16A54BF5D6E14E4D916CE26C9AD30575F05409@pdsmsx402.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <16A54BF5D6E14E4D916CE26C9AD30575F05409@pdsmsx402.ccr.corp.intel.com> Sender: linux-kernel-owner@vger.kernel.org To: "Li, Shaohua" Cc: ACPI mailing list , kernel list List-Id: linux-acpi@vger.kernel.org Hi! > >I enabled CPU hotplug and preemptible debugging... now I get... > > > >BUG: using smp_processor_id() in preemptible [00000001] code: > >swapper/0 > >caller is acpi_processor_idle+0xb/0x235 > > [] smp_processor_id+0xa8/0xc0 > > [] acpi_processor_idle+0xb/0x235 > > [] acpi_processor_idle+0x0/0x235 > > [] acpi_processor_idle+0xb/0x235 > > [] acpi_processor_idle+0x0/0x235 > > [] acpi_processor_idle+0x0/0x235 > > [] acpi_processor_idle+0x0/0x235 > > [] cpu_idle+0x75/0x110 > > [] start_kernel+0x158/0x180 > > [] unknown_bootoption+0x0/0x1e0 > It doesn't trouble to me. It's in idle thread. You mean it does not happen to you? On my machine it fills logs very quickly... Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!