Messages in this thread | | | From | Bartlomiej Zolnierkiewicz <> | Subject | Re: [PATCH] prevent module unloading for legacy IDE chipset drivers | Date | Thu, 22 Apr 2004 16:35:12 +0200 |
| |
On Thursday 22 of April 2004 12:33, Erik Mouw wrote: > On Thu, Apr 22, 2004 at 02:50:15AM +0200, Bartlomiej Zolnierkiewicz wrote: > > On Thursday 22 of April 2004 02:41, Erik Andersen wrote: > > > 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. > > FWIW, with the old IDE code I've been unloading IDE modules for years > without a single problem.
IDE chipset drivers were made 'modular' in 2.4.21 (release date 13-Jun-2003) and this complicated things
> What makes IDE sufficiently different from SCSI that we can't unload > IDE host drivers?
- no reference counting - lack of release() method - insufficient locking
Cheers, Bartlomiej
- 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/
| |