Alan Cox <alan@lxorguk.ukuu.org.uk> said:
[...]
> I think perhaps we need a module_lock that forbids just module load/unload
> when its held. A reader/writer lock with the unload as the writer and
> the rest as readers ?
Won't help, as this can't prevent the race between loading and loading that
started this thread. And a regular lock won't help either, as it will
prevent one module from loading some other one it needs. I'm afraid a
per-module (type?) regular lock is the only way out.
-- Horst von Brand vonbrand@sleipnir.valparaiso.cl Casilla 9G, Viņa del Mar, Chile +56 32 672616- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:16 EST