Re: super.c - kerneld race condition in 2.0.27

Richard Henderson (richard@atheist.tamu.edu)
Sat, 4 Jan 1997 18:59:08 -0600 (CST)


> Perhaps this could be avoided by introducing a "preloaded" state for a
> module. A module that is requested (loaded by kerneld) but not opened
> (MOD_INC_USE_COUNT) remains in this state either until it is opened or
> manually unloaded (no timeout - rationale: a module gets only
> preloaded if it is going to be used sometime).

I like it. Extremely simple and very effective. This will appear
in the next module snapshot in the form of MOD_USED_ONCE.

r~