From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Blechmann Subject: Re: BUG: using smp_processor_id() in preemptible Date: Tue, 13 Jan 2009 09:44:40 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: linux-rt-users@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:57851 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755446AbZAMJoz (ORCPT ); Tue, 13 Jan 2009 04:44:55 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LMfpN-0002ya-TB for linux-rt-users@vger.kernel.org; Tue, 13 Jan 2009 09:44:53 +0000 Received: from 85-127-87-143.dynamic.xdsl-line.inode.at ([85.127.87.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Jan 2009 09:44:53 +0000 Received: from tim by 85-127-87-143.dynamic.xdsl-line.inode.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Jan 2009 09:44:53 +0000 Sender: linux-rt-users-owner@vger.kernel.org List-ID: fyi, this is still an issue in 2.6.26.8-rt13. tim On Mon, 08 Dec 2008 12:13:31 +0000, Tim Blechmann wrote: > hi all, > > using the 2.6.26.6-rt11 patchset on a 2.6.26.8 kernel, i get the > following stack traces: > > [ 4262.931832] BUG: using smp_processor_id() in preemptible [00000000] > code: bash/361 [ 4262.931846] caller is > mem_cgroup_charge_statistics+0x6d/0xa0 [ 4262.931852] Pid: 361, comm: > bash Not tainted 2.6.26.8-rt11 #3 [ 4262.931855] > [ 4262.931856] Call Trace: > [ 4262.931886] [] debug_smp_processor_id+0xcc/0xd0 [ > 4262.931895] [] > mem_cgroup_charge_statistics+0x6d/0xa0 [ 4262.931905] > [] __mem_cgroup_add_list+0x39/0x60 [ 4262.931911] > [] mem_cgroup_charge_common+0x314/0x330 [ 4262.931925] > [] mem_cgroup_charge+0xe/0x10 [ 4262.931933] > [] do_wp_page+0x133/0x5a0 [ 4262.931944] > [] ? __rt_spin_lock+0x81/0x90 [ 4262.931956] > [] handle_mm_fault+0x605/0x900 [ 4262.931975] > [] do_page_fault+0x45c/0xd50 [ 4262.931998] > [] ? native_smp_send_reschedule+0x2e/0x50 [ > 4262.932006] [] ? __resched_task+0x91/0x120 [ > 4262.932015] [] ? task_new_fair+0xb4/0x100 [ > 4262.932027] [] ? wake_up_new_task+0xdb/0x190 [ > 4262.932038] [] ? do_fork+0xf0/0x330 [ 4262.932048] > [] ? rt_spin_lock+0x1e/0x50 [ 4262.932056] > [] ? fd_install+0x52/0x60 [ 4262.932072] > [] error_exit+0x0/0x60 -- tim@klingt.org http://tim.klingt.org Lesser artists borrow, great artists steal. Igor Stravinsky