Module unloading (was modutils-970118 problem)

Richard Henderson (richard@atheist.tamu.edu)
Wed, 22 Jan 1997 17:19:21 -0600 (CST)


Ok, it seems there are irritating side effects of the MOD_USED_ONCE
bits in the recent modules code.

What I want most of all is for things not to fail mysteriously for
L. User -- which is why I think that the used once hack is still a
good one. But what about everyone else that just gets irritated?

What about the following: an argument to insmod to set MOD_USED_ONCE
before the module is even loaded. This makes the behaviour identical
to before, and that combined with kerneld's existing delay=N
argument should satisfy everyone.

Sound resonable?

r~