Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755402Ab0DWCrs (ORCPT ); Thu, 22 Apr 2010 22:47:48 -0400 Received: from cluster-g.mailcontrol.com ([208.87.233.190]:36379 "EHLO cluster-g.mailcontrol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755150Ab0DWCrq convert rfc822-to-8bit (ORCPT ); Thu, 22 Apr 2010 22:47:46 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Subject: RE: core: workque: workqueue recursion when unplugging usb WCDMA modem on 2.6.32 kernel Date: Thu, 22 Apr 2010 19:46:18 -0700 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: core: workque: workqueue recursion when unplugging usb WCDMA modem on 2.6.32 kernel Thread-Index: Acric3vBvS4UsErLShmZae81Y0C/ggAFfu4g References: <20100421182747.GB7876@kroah.com> From: "YuPing Luo" To: =?iso-8859-1?Q?Arve_Hj=F8nnev=E5g?= Cc: "Greg KH" , , X-OriginalArrivalTime: 23 Apr 2010 02:47:01.0313 (UTC) FILETIME=[3FDD0310:01CAE28F] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1617 Lines: 32 From: Arve Hj?nnev?g [mailto:arve@android.com] Sent: Friday, April 23, 2010 7:28 AM > I don't think this is related to your console. I could easily > reproduce your problem by killing rild (which uses both the binder and > ttys). You may also what to find out why your rild is exiting. I make the rild service stopped while vold daemon detect usb-modem unplugged. >> ?The recursion can be avoided if introducing one dedicated work queue >> thread for binder > I just pushed a fix that does exactly that. Good news, and just confused while the workqueue introduced in binder, why the tty_release() triggered by its work handler, the normal case looks like following: (tty_release+0x1c/0x28) [ 68.068397] [] (tty_release+0x0/0x28) from [] (__fput+0xe0/0x210) [ 68.076177] r5:00000008 r4:c69009c0 ...... [ 68.102362] r7:00000006 r6:c69009c0 r5:c78a60c0 r4:c281e000 [ 68.108026] [] (sys_close+0x0/0x110) from [] (ret_fast_syscall+0x0/0x2c) [ 68.116453] r7:00000006 r6:0002ac60 r5:00000010 r4:0002ef08 [ 68.122068] ---[ end trace 6c2209be9c1c296c ]--- [ 68.234009] option_release Thanks Yuping Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom -- 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/