Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754294AbcKOPHa (ORCPT ); Tue, 15 Nov 2016 10:07:30 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:43706 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751981AbcKOPH2 (ORCPT ); Tue, 15 Nov 2016 10:07:28 -0500 Date: Tue, 15 Nov 2016 15:07:07 +0000 From: Russell King - ARM Linux To: Trond Myklebust , Anna Schumaker , "Paul E. McKenney" , Josh Triplett Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: [BUG] Suspicious RCU usage: NFS client - 4.9-rc4 Message-ID: <20161115150706.GW1041@n2100.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2766 Lines: 64 While booting two of my machines, I noticed this splat on the console. Not sure if this is due to a RCU change or NFS change, so adding folk on both sides. =============================== [ INFO: suspicious RCU usage. ] 4.9.0-rc4+ #2050 Not tainted ------------------------------- net/sunrpc/clnt.c:2773 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 1, debug_locks = 0 1 lock held by mount.nfs/1499: #0: ( &(&nn->nfs_client_lock)->rlock ){+.+...} , at: [] nfs_get_client+0xe8/0x580 stack backtrace: CPU: 1 PID: 1499 Comm: mount.nfs Not tainted 4.9.0-rc4+ #2050 Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r6:60010013 r5:ffffffff r4:00000000 r3:00000000 [] (show_stack) from [] (dump_stack+0xa4/0xdc) [] (dump_stack) from [] (lockdep_rcu_suspicious+0xbc/0x11c) r6:00000ad5 r5:c08f4078 r4:ee58a4c0 r3:ee58a4c0 [] (lockdep_rcu_suspicious) from [] (rpc_clnt_xprt_switch_has_addr+0x134/0x15c) r7:ef27dd80 r6:c0ae3972 r5:eeb5a110 r4:ee930400 [] (rpc_clnt_xprt_switch_has_addr) from [] (nfs_get_client+0x228/0x580) r6:ef27ddd0 r5:eeb5a110 r4:00000000 [] (nfs_get_client) from [] (nfs_create_server+0xb4/0x3d4) r10:edaebe6c r9:c0a84d54 r8:edaebd30 r7:edf7b480 r6:00000000 r5:ed50a000 r4:eeb5a000 [] (nfs_create_server) from [] (nfs3_create_server+0x10/0x28) r10:00000000 r9:edbea200 r8:c0a84d54 r7:edaebe6c r6:00000000 r5:00000001 r4:eeb5a000 [] (nfs3_create_server) from [] (nfs_try_mount+0x188/0x280) r4:eeb5a000 r3:c028a2e8 [] (nfs_try_mount) from [] (nfs_fs_mount+0x420/0x8c0) r10:00000000 r9:00000400 r8:edbea200 r7:edbea200 r6:c0a84d54 r5:edbea206 r4:eeb5a000 [] (nfs_fs_mount) from [] (mount_fs+0x1c/0xa8) r10:ed4f5000 r9:edbea340 r8:c0a82204 r7:c019091c r6:c0a82204 r5:edbea200 r4:ed8a3700 [] (mount_fs) from [] (vfs_kern_mount+0x5c/0x138) r6:00000000 r5:edbea200 r4:ed8a3700 [] (vfs_kern_mount) from [] (do_mount+0x164/0xc58) r10:c0191774 r8:edbea200 r7:00000020 r6:ed4f5000 r5:c0a82204 r4:00000000 [] (do_mount) from [] (SyS_mount+0x7c/0xa4) r10:00000000 r9:edaea000 r8:0078c0f8 r7:00000000 r6:ed4f5000 r5:edbea200 r4:edbea340 [] (SyS_mount) from [] (ret_fast_syscall+0x0/0x1c) r8:c000ff04 r7:00000015 r6:0078dd50 r5:bed2bad0 r4:007968a8 -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.