Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752587Ab0DUGEh (ORCPT ); Wed, 21 Apr 2010 02:04:37 -0400 Received: from mail.skyhub.de ([78.46.96.112]:37399 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751881Ab0DUGEe (ORCPT ); Wed, 21 Apr 2010 02:04:34 -0400 Date: Wed, 21 Apr 2010 08:04:28 +0200 From: Borislav Petkov To: Miles Lane Cc: paulmck@linux.vnet.ibm.com, Eric Paris , Lai Jiangshan , Ingo Molnar , Peter Zijlstra , LKML Subject: Re: [PATCH] RCU: don't turn off lockdep when find suspicious rcu_dereference_check() usage Message-ID: <20100421060428.GA3839@liondog.tnic> Mail-Followup-To: Borislav Petkov , Miles Lane , paulmck@linux.vnet.ibm.com, Eric Paris , Lai Jiangshan , Ingo Molnar , Peter Zijlstra , LKML References: <1271242058.32749.19.camel@laptop> <1271701612.2972.5.camel@dhcp231-113.rdu.redhat.com> <20100419230136.GA16856@linux.vnet.ibm.com> <1271726729.2972.13.camel@dhcp231-113.rdu.redhat.com> <20100420030452.GB2905@linux.vnet.ibm.com> <4BCD646B.1080206@cn.fujitsu.com> <1271766716.2972.16.camel@dhcp231-113.rdu.redhat.com> <20100420135227.GC2628@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3519 Lines: 65 Hi, a plain -rc5 triggers at net/core/dev.c:1993 here too: [ 12.889090] =================================================== [ 12.889387] [ INFO: suspicious rcu_dereference_check() usage. ] [ 12.889533] --------------------------------------------------- [ 12.889679] net/core/dev.c:1993 invoked rcu_dereference_check() without protection! [ 12.889929] [ 12.889929] other info that might help us debug this: [ 12.889930] [ 12.890368] [ 12.890369] rcu_scheduler_active = 1, debug_locks = 0 [ 12.890659] 2 locks held by swapper/0: [ 12.890803] #0: (&idev->mc_ifc_timer){+.-...}, at: [] run_timer_softirq+0x266/0x503 [ 12.891227] #1: (rcu_read_lock_bh){.+....}, at: [] dev_queue_xmit+0x153/0x512 [ 12.891647] [ 12.891648] stack backtrace: [ 12.891934] Pid: 0, comm: swapper Not tainted 2.6.34-rc5 #1 [ 12.892085] Call Trace: [ 12.892231] [] lockdep_rcu_dereference+0xaa/0xb2 [ 12.892430] [] dev_queue_xmit+0x25e/0x512 [ 12.892576] [] ? dev_queue_xmit+0x153/0x512 [ 12.892723] [] ? trace_hardirqs_on+0xd/0xf [ 12.892871] [] ? local_bh_enable_ip+0xbc/0xda [ 12.893024] [] neigh_resolve_output+0x323/0x36a [ 12.893183] [] ? ipv6_chk_mcast_addr+0x0/0x1fa [ipv6] [ 12.893338] [] ip6_output_finish+0x81/0xb9 [ipv6] [ 12.893492] [] ip6_output2+0x2a9/0x2b4 [ipv6] [ 12.893644] [] ip6_output+0xbc1/0xbd0 [ipv6] [ 12.893797] [] ? fib6_force_start_gc+0x30/0x32 [ipv6] [ 12.893951] [] mld_sendpack+0x30b/0x435 [ipv6] [ 12.894109] [] ? mld_sendpack+0x0/0x435 [ipv6] [ 12.894264] [] ? mark_held_locks+0x52/0x70 [ 12.894418] [] mld_ifc_timer_expire+0x254/0x28d [ipv6] [ 12.894570] [] run_timer_softirq+0x381/0x503 [ 12.894717] [] ? run_timer_softirq+0x266/0x503 [ 12.894870] [] ? mld_ifc_timer_expire+0x0/0x28d [ipv6] [ 12.895024] [] ? __do_softirq+0x79/0x2f5 [ 12.895174] [] __do_softirq+0x180/0x2f5 [ 12.895323] [] call_softirq+0x1c/0x28 [ 12.895472] [] do_softirq+0x3d/0x85 [ 12.895619] [] irq_exit+0x4a/0x95 [ 12.895766] [] smp_apic_timer_interrupt+0x8c/0x9a [ 12.895913] [] apic_timer_interrupt+0x13/0x20 [ 12.896065] [] ? _raw_spin_unlock_irqrestore+0x38/0x69 [ 12.896363] [] ? default_idle+0xd8/0x10a [ 12.896512] [] ? default_idle+0xd6/0x10a [ 12.896658] [] c1e_idle+0xcd/0xf4 [ 12.896805] [] cpu_idle+0x5e/0xb5 [ 12.896952] [] rest_init+0xff/0x106 [ 12.897104] [] ? rest_init+0x0/0x106 [ 12.897260] [] start_kernel+0x30f/0x31a [ 12.897409] [] x86_64_start_reservations+0x7d/0x81 [ 12.897560] [] x86_64_start_kernel+0xe4/0xeb -- Regards/Gruss, Boris. -- 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/