Re: Module open() problems, Linux 2.4.0

From: Christoph Hellwig (hch@caldera.de)
Date: Thu Nov 09 2000 - 15:22:28 EST


In article <Pine.LNX.3.95.1001109150621.15404A-100000@chaos.analogic.com> you wrote:
> This may be, as you say, "harmless". It is, however, a bug. The
> reporting must be correct or large complex systems can't be
> developed or maintained.

No. It is not. The module usage count doesn't have a direct relation
to the number of open devices. The module count just makes the modules
un-removable if it is non-zero. It doesn't matter at all, when and where
you in- and decrease it, as long as the module is always protected against
unload when in use (e.g. opened).

        Christoph

-- 
Always remember that you are unique.  Just like everyone else.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:15 EST