[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <81F20834D108E141A9502ADE39F489D60DBA6CE617@eu1rdcrdc1wx031.exi.nxp.com>
Date: Mon, 18 Apr 2011 10:50:11 +0200
From: Arjan Mels <arjan.mels@....com>
To: Greg KH <gregkh@...e.de>, Arnd Bergmann <arnd@...db.de>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"stable@...nel.org" <stable@...nel.org>,
"stable-review@...nel.org" <stable-review@...nel.org>,
"torvalds@...ux-foundation.org" <torvalds@...ux-foundation.org>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"alan@...rguk.ukuu.org.uk" <alan@...rguk.ukuu.org.uk>,
Arjan Mels <arjan.mels@....net>,
Takahiro Hirofuchi <hirofuchi@...rs.sourceforge.net>,
Max Vozeler <max@...eler.com>
Subject: RE: [12/74] staging: usbip: bugfixes related to kthread conversion
I agree that the bugfix will do no harm on older versions. I have however not seen this particular deadlock occurring on versions before the kthread conversion: the thread termination works differently here (not by polling), so the fix is probably not necessary on older versions.
Apologies for not responding to this before: these were my first patches and I had not realized bugfixes would also be backported to older versions.
Best Regards,
Arjan Mels
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Arjan Mels
Principal Engineer
Device Physics / Wafer Technology and Foundry Organization (WT&FO) / Operations
NXP Semiconductors
FB 3.057, Gerstweg 2, 6534AE Nijmegen, The Netherlands
Phone : + 31 24 353 5330
E-mail : arjan.mels@....com
XFB : nlv07682@...i02
-----Original Message-----
From: Greg KH [mailto:gregkh@...e.de]
Sent: Monday, April 18, 2011 08:03
To: Arnd Bergmann
Cc: linux-kernel@...r.kernel.org; stable@...nel.org; stable-review@...nel.org; torvalds@...ux-foundation.org; akpm@...ux-foundation.org; alan@...rguk.ukuu.org.uk; Arjan Mels; Takahiro Hirofuchi; Max Vozeler
Subject: Re: [12/74] staging: usbip: bugfixes related to kthread conversion
On Sun, Apr 17, 2011 at 10:15:01PM +0200, Arnd Bergmann wrote:
> On Wednesday 13 April 2011, Greg KH wrote:
> > From: Arjan Mels <arjan.mels@....net>
> >
> > commit d2dd0b07c3e725d386d20294ec906f7ddef207fa upstream.
> >
> > When doing a usb port reset do a queued reset instead to prevent a
> > deadlock: the reset will cause the driver to unbind, causing the
> > usb_driver_lock_for_reset to stall.
> >
> > Signed-off-by: Arjan Mels <arjan.mels@....net>
> > Cc: Takahiro Hirofuchi <hirofuchi@...rs.sourceforge.net>
> > Cc: Max Vozeler <max@...eler.com>
> > Cc: Arnd Bergmann <arnd@...db.de>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
> >
>
> I think either the subject line is misleading or the patch is not
> needed in -stable. The kthread conversion was done in 2.6.38, so
> any bug introduced by it would not need to be fixed in an earlier
> version, afaict.
Yes, the Subject: was incorrect, and I only realized it after it was
committed to the tree, sorry.
The bug fixes were still real.
thanks,
greg k-h
Powered by blists - more mailing lists