Messages in this thread | | | Subject | Re: Tentative patch: modularized disk partition systems in 2.3.99-pre2-5 | Date | Sun, 19 Mar 2000 13:52:26 +0000 (GMT) | From | Alan Cox <> |
| |
> This patch should allow the disk partition handlers to be > compiled as loadable modules. The patch also has the side effect > of simplifying fs/partitions/Makefile. At this point, I can
What stops me unloading one of the partition drivers in your patch while the partition scan is stalled waiting for a disk block, and the box then crashing ?
Similarly its not proofed against two parallel insmods in theory (SMP) although I think the kernel lock covers it
> +cleanup_module(void) > +{
How about taking a semaphore here, when registering and also before doing the scan
> + unregister_partition_ops(&ops);
That should make everything stall until the partition scanner has finished
- 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/
| |