Messages in this thread | | | From | Bartlomiej Zolnierkiewicz <> | Subject | Re: [PATCH] prevent module unloading for legacy IDE chipset drivers | Date | Thu, 22 Apr 2004 02:50:15 +0200 |
| |
On Thursday 22 of April 2004 02:41, Erik Andersen wrote: > On Wed Apr 21, 2004 at 10:19:24PM +0200, Bartlomiej Zolnierkiewicz wrote: > > It is unsafe thing to do (no locking, no reference counting etc). > > Just remove module_exit() as it was done for IDE PCI drivers. > > Out of curiosity, what would be needed to make it safe to unload > all ide modules from a system with a scsi rootfs?
It doesn't matter - you still may end up unloading modules which are in use. Plus unregistering IDE interfaces leave mess in _static_ ide_hwifs[] table.
- 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/
| |