Re: [RFC] Raceless module interface

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Wed Sep 11 2002 - 16:26:14 EST


Daniel Phillips wrote:
> Really, that's not so, there are limits. 30 seconds? Whatever.
> Remember, during this time the service provided by the module is
> unavailable, so this is denial-of-service land. You could of
> course put in extra code to abort the unload process on demand,
> but, hmm, it probably wouldn't work ;-)

If you're going to do it right, you should fix that denial-of-service by
waiting until the module has finished unloading and then demand-loading
the module again.

Ideally, those periodic "rmmod -a" calls should _never_ cause a
denial-of-service.

-- Jamie
-
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/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:27 EST