Return-path: Received: from mail.deathmatch.net ([70.167.247.36]:45639 "EHLO mail.deathmatch.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759847AbYHEMZO (ORCPT ); Tue, 5 Aug 2008 08:25:14 -0400 Date: Tue, 5 Aug 2008 08:24:08 -0400 From: Bob Copeland To: Dave Young Cc: Jiri Slaby , Pekka J Enberg , Andrew Morton , Johannes Berg , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Subject: Re: [BUG] wireless : cpu stuck for 61s Message-ID: <20080805122408.GA5000@hash.localnet> (sfid-20080805_142521_101194_2FE7F309) References: <20080729055731.GA3265@darkstar> <1217334724.10489.47.camel@johannes.berg> <20080730020820.8bcc00e2.akpm@linux-foundation.org> <20080730031047.54e13e2d.akpm@linux-foundation.org> <4896D34A.1000005@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Aug 05, 2008 at 09:29:26AM +0800, Dave Young wrote: > With the patch I cann't reproduce the bug with 27-rc1 now. > > > [] ? debugfs_create_file+0x46/0x210 > > [] ? debugfs_create_file+0x46/0x210 > > [] debugfs_create_file+0x46/0x210 > > [] debugfs_create_dir+0x21/0x30 > > [] ieee80211_sta_debugfs_add+0x2d/0x150 [mac80211] > > [] sta_info_debugfs_add_work+0x89/0x130 [mac80211] > > [] ? rate_control_pid_add_sta_debugfs+0x0/0x30 [mac80211] I wonder if there were two separate problems here. I looked into this with some detail yesterday and agree with Johannes that the above trace is on locking the parent directory's i_mutex, but I too couldn't see any problems with sta_info_debugfs_add_work. Other stuff could also modify the directory with or without rtnl_lock, but not in a way that to my untrained eyes would lead to deadlock. Or is the trace just wrong? -- Bob Copeland %% www.bobcopeland.com