Re: [RFC] Raceless module interface

From: Daniel Phillips (phillips@arcor.de)
Date: Wed Sep 11 2002 - 22:47:57 EST


On Thursday 12 September 2002 05:13, Rusty Russell wrote:
> B) We do not handle the "half init problem" where a module fails to load, eg.
> a = register_xxx();
> b = register_yyy();
> if (!b) {
> unregister_xxx(a);
> return -EBARF;
> }
> Someone can start using "a", and we are in trouble when we remove
> the failed module.

No we are not. The module remains in the 'stopped' state
throughout the entire initialization process, as it should and
does, in my model.

-- 
Daniel
-
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:28 EST