From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756345AbXI1SMA (ORCPT ); Fri, 28 Sep 2007 14:12:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753893AbXI1SLx (ORCPT ); Fri, 28 Sep 2007 14:11:53 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:52191 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753785AbXI1SLw (ORCPT ); Fri, 28 Sep 2007 14:11:52 -0400 Date: Fri, 28 Sep 2007 11:11:07 -0700 From: Stephen Hemminger To: Herbert Xu Cc: jbeulich@novell.com (Jan Beulich), bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Module use count must be updated as bridges are created/destroyed Message-ID: <20070928111107.57519b67@freepuppy.rosehill> In-Reply-To: References: <46FBE2DD.76E4.0078.0@novell.com> Organization: Linux Foundation X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Sep 2007 13:37:39 +0800 Herbert Xu wrote: > Jan Beulich wrote: > > > > So we have an unsolvable problem here then, unless infrastructure gets added > > that allows a module to declare itself as not-implicit-unload-safe, forcing > > modprobe -r to keep its hands off it. Ugly. > > Yes I've always wanted to have a separate count that indicates > a module is in use but does not prevent its immediate removal. > > Cheers, It is only the nested removal problem. -- Stephen Hemminger