[Ksummit-discuss] No more module removal -- Unconference track

Dan Carpenter dan.carpenter at oracle.com
Tue Aug 19 16:09:17 UTC 2014


On Tue, Aug 19, 2014 at 08:47:38AM -0700, Guenter Roeck wrote:
> On Tue, Aug 19, 2014 at 06:40:29PM +0300, Dan Carpenter wrote:
> > Why can't we just taint the kernel on module removal?
> > 
> Why not just fix its bugs ?
> 
> If you want to taint the kernel on module removal because it is known that many
> drivers have bugs in their removal code, you should taint the kernel if any code
> is used which is known to have a bug. Or, in other words, just taint the kernel,
> period.

If you rmmod a module it probably means that your code was buggy before
you started the rmmod.  We already taint the kernel when the kernel
oopses.  It's the same thing.

regards,
dan carpenter



More information about the Ksummit-discuss mailing list