Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 28 Feb 2001 20:39:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 28 Feb 2001 20:38:01 -0500 Received: from zeus.kernel.org ([209.10.41.242]:51676 "EHLO zeus.kernel.org") by vger.kernel.org with ESMTP id ; Wed, 28 Feb 2001 20:28:23 -0500 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: Boris Dragovic cc: linux-kernel@vger.kernel.org Subject: Re: negative mod use count In-Reply-To: Your message of "Wed, 28 Feb 2001 20:58:06 BST." <200102281958.UAA13226@falcon.etf.bg.ac.yu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 01 Mar 2001 11:04:58 +1100 Message-ID: <20516.983405098@kao2.melbourne.sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 28 Feb 2001 20:58:06 +0100, Boris Dragovic wrote: >what does negative module use count mean? Either an extra MOD_DEC_USE_COUNT was issued (buggy code) or the module has a can_unload() function. When modules define a can_unload() routine then the use count is always displayed as -1 because the module decides if it can be unloaded. - 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/