Re: try_module_get and friends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-03-05 at 14:47 -0500, Steven Rostedt wrote:
> Some device has an interrupt handler that is called and preempted.
> At that moment the module for that device is unloaded. This calls things
> like kstop_machine that should make sure that all interrupt handlers have
> been resolved. But this does not work with -rt, since the interrupt
> handlers can now be preempted and resume after the kstop_machine and the
> moduling being unloaded.
> 
> Since the code for the interrupt handler no longer exists... KABOOM!
> 
> Enough details?

yeah, you have to assume the device is not in use, but still handling
interrupts?

Daniel

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux