Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751308AbWBOVws (ORCPT ); Wed, 15 Feb 2006 16:52:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751258AbWBOVws (ORCPT ); Wed, 15 Feb 2006 16:52:48 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:30390 "HELO iolanthe.rowland.org") by vger.kernel.org with SMTP id S1751308AbWBOVwr (ORCPT ); Wed, 15 Feb 2006 16:52:47 -0500 Date: Wed, 15 Feb 2006 16:52:43 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Greg KH cc: Arjan van de Ven , James Bottomley , Kernel development list Subject: Re: [linux-usb-devel] Re: Linux 2.6.16-rc3 In-Reply-To: <20060215170614.GD1546@kroah.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 966 Lines: 25 On Wed, 15 Feb 2006, Greg KH wrote: > On Wed, Feb 15, 2006 at 05:35:08PM +0100, Arjan van de Ven wrote: > > On Wed, 2006-02-15 at 08:27 -0800, Greg KH wrote: > > > > > > Nah, I don't think it's a good idea. James's patch should work just > > > fine. > > > > another option is to have a "kill list" which you put the thing on, and > > then wake up a thread. only 2 pointers in the object ;( > > Hm, that's almost what James's patch is trying to do. Care to mock up a > patch that shows this? It might be a simpler solution. It won't work. You might have to do 2 put_device calls on the same structure. That's why I suggested the "pending puts" counter; something can't go on a list more than once. 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/