Re: try_module_get and friends

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

 



On Wed, 2008-03-05 at 15:54 -0500, Steven Rostedt wrote:

> Actually, we were simply thinking of calling an rcu_lock before checking
> the handlers, and releasing the lock when all are done. Then before doing
> the module unload, we do a rcu_sync. Note, no interrupt handler should
> ever do a rcu_sync.

There's already some smp synchronize inside free_irq, are you sure
that's not already handling this for smp? For -rt we could just enable
it for UP ..

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