Messages in this thread | | | Subject | Re: [RFC] change in /proc/devices | Date | Tue, 25 Jan 2000 22:34:51 -0300 | From | Horst von Brand <> |
| |
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/
| |