Thread (16 messages) 16 messages, 4 authors, 2012-06-21

Re: [PATCH] driver core: fix shutdown races with probe/remove(v2)

From: Ming Lei <hidden>
Date: 2012-06-21 16:21:38
Also in: lkml

On Fri, Jun 22, 2012 at 12:12 AM, Alan Stern [off-list ref] wrote:
On Fri, 22 Jun 2012, Ming Lei wrote:
quoted
On Thu, Jun 21, 2012 at 9:49 PM, Greg Kroah-Hartman
[off-list ref] wrote:
quoted
We also have not made the rule that a shutdown will complete in a
specific amount of time either, so there is no problem if that takes a
long time as well.
OK, I will submit a new patch which just holds device lock.

Alan, do you have objections on the new one?
No objections. �It should end up being pretty much like one of the
patches you posted earlier.
Holding parent reference count is missed in earlier version.
Should there be an option for a debug log of each device name just
before its shutdown routine is called?
We have had the below before calling shutdown callback.

          dev_dbg(dev, "shutdown\n");

Thanks,
--
Ming Lei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help