Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759656Ab2FUQMq (ORCPT ); Thu, 21 Jun 2012 12:12:46 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:42225 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1759452Ab2FUQMo (ORCPT ); Thu, 21 Jun 2012 12:12:44 -0400 Date: Thu, 21 Jun 2012 12:12:43 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Ming Lei cc: Greg Kroah-Hartman , , , Subject: Re: [PATCH] driver core: fix shutdown races with probe/remove(v2) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 879 Lines: 26 On Fri, 22 Jun 2012, Ming Lei wrote: > On Thu, Jun 21, 2012 at 9:49 PM, Greg Kroah-Hartman > wrote: > > > 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. Should there be an option for a debug log of each device name just before its shutdown routine is called? Alan Stern -- 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/