[RFC] change in /proc/devices

Horst von Brand vonbrand en sleipnir.valparaiso.cl
Mie Ene 26 08:43:36 CST 2000


Alan Cox <alan en 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 en 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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda