Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758456AbYCaV1t (ORCPT ); Mon, 31 Mar 2008 17:27:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757703AbYCaV1d (ORCPT ); Mon, 31 Mar 2008 17:27:33 -0400 Received: from styx.suse.cz ([82.119.242.94]:39057 "EHLO mail.suse.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756925AbYCaV1c (ORCPT ); Mon, 31 Mar 2008 17:27:32 -0400 Date: Mon, 31 Mar 2008 23:27:30 +0200 (CEST) From: Jiri Kosina To: Greg KH cc: Dmitry Torokhov , Kay Sievers , Linus Torvalds , Bj?rn Steinbrink , Arjan van de Ven , Linux Kernel Mailing List , Johannes Berg Subject: Re: [PATCH] evdev: Release eventual input device grabs when getting disconnected In-Reply-To: <20080331204221.GA19953@kroah.com> Message-ID: References: <20080330184259.GB21375@atjola.homenet> <200803310215.39414.dtor@insightbb.com> <20080331172813.GA11583@kroah.com> <20080331135653.ZZRA012@mailhub.coreip.homeip.net> <20080331204221.GA19953@kroah.com> 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: 817 Lines: 20 On Mon, 31 Mar 2008, Greg KH wrote: > > Greg, please look at the change again. Before kobject_put(kobj->parent) > > was done in kobject_cleanup() and so the parent would only be freed when > > all its children are gone. Now parent is deleted early, even if its > > children are still referenced by other users. This is lifetime rule > > change and should really be announced as such. > Ugh, this was done because of scsi, they required that if you really > were deleting the parent, you wanted it gone. What is the exact meaning of "gone" here please? -- Jiri Kosina -- 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/