From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: net/bluetooth: workqueue destruction WARNING in hci_unregister_dev Date: Tue, 13 Sep 2016 11:35:20 -0400 Message-ID: <20160913153520.GC21123@htj.duckdns.org> References: <20160311171205.GB24046@htj.duckdns.org> <56EA9C4D.2080803@suse.cz> <20160318205231.GO20028@mtj.duckdns.org> <56F01A1C.40208@suse.cz> <56F0FDCE.1040701@suse.cz> <20160905130832.GD20784@mtj.duckdns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jiri Slaby , Marcel Holtmann , Gustavo Padovan , Johan Hedberg , "David S. Miller" , linux-bluetooth , netdev , LKML , syzkaller , Kostya Serebryany , Alexander Potapenko , Eric Dumazet , Takashi Iwai To: Dmitry Vyukov Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hello, On Sat, Sep 10, 2016 at 11:33:48AM +0200, Dmitry Vyukov wrote: > Hit the WARNING with the patch. It showed "Showing busy workqueues and > worker pools:" after the WARNING, but then no queue info. Was it > already destroyed and removed from the list?... Hmm... It either means that the work item which was in flight when WARN_ON() ran finished by the time the debug printout got to it or that it's something unrelated to busy work items. > [ 198.113838] WARNING: CPU: 2 PID: 26691 at kernel/workqueue.c:4042 > destroy_workqueue+0x17b/0x630 I don't seem to have the same source code that you have. Which exact WARN_ON() is this? Thanks. -- tejun