Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933242AbXA2GxA (ORCPT ); Mon, 29 Jan 2007 01:53:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933244AbXA2GxA (ORCPT ); Mon, 29 Jan 2007 01:53:00 -0500 Received: from smtp.osdl.org ([65.172.181.24]:51734 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933242AbXA2Gw7 (ORCPT ); Mon, 29 Jan 2007 01:52:59 -0500 Date: Sun, 28 Jan 2007 22:43:12 -0800 From: Andrew Morton To: Herbert Xu Cc: Michal Piotrowski , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Dipankar Sarma , "Paul E. McKenney" Subject: Re: 2.6.20-rc6-mm1 Message-Id: <20070128224312.50f89360.akpm@osdl.org> In-Reply-To: <20070129052929.GA29456@gondor.apana.org.au> References: <45BD2424.7020604@googlemail.com> <20070129052929.GA29456@gondor.apana.org.au> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1969 Lines: 38 On Mon, 29 Jan 2007 16:29:29 +1100 Herbert Xu wrote: > On Mon, Jan 29, 2007 at 04:17:44PM +1100, Herbert Xu wrote: > > Michal Piotrowski wrote: > > > > > Jan 28 22:58:29 euridica kernel: BUG: using smp_processor_id() in preemptible [00000001] code: yum-updatesd/2846 > > > Jan 28 22:58:29 euridica kernel: caller is nf_conntrack_in+0x363/0x47f [nf_conntrack] > > > Jan 28 22:58:29 euridica kernel: [] show_trace_log_lvl+0x1a/0x2f > > > Jan 28 22:58:29 euridica kernel: [] show_trace+0x12/0x14 > > > Jan 28 22:58:29 euridica kernel: [] dump_stack+0x16/0x18 > > > Jan 28 22:58:29 euridica kernel: [] debug_smp_processor_id+0xb3/0xc8 > > > Jan 28 22:58:29 euridica kernel: [] nf_conntrack_in+0x363/0x47f [nf_conntrack] > > > Jan 28 22:58:29 euridica kernel: [] ipv4_conntrack_local+0x53/0x5b [nf_conntrack_ipv4] > > > Jan 28 22:58:29 euridica kernel: [] nf_iterate+0x36/0x67 > > > Jan 28 22:58:29 euridica kernel: [] nf_hook_slow+0x52/0xbe > > > > This shouldn't have happened. nf_hook_slow calls nf_iterate and > > therefore everything under it with preemption disabled. So something > > must've reenabled it before hitting nf_conntrack_in. > > Does mm now have the preemptible RCU stuff? If so that would certainly > explain this. It does, > IIRC Ingo had made fixes for the networking stack in his rt tree since > the networking code assumes in lots of places that rcu_read_lock > disables preemption. oh. We'd better find those fixes then. I wonder what other code made that (rather hacky) assumption? I guess we have enough debug stuff in there to find out.. - 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/