On Wed, Mar 05, 2008 at 01:15:02PM -0800, Daniel Walker wrote: > > 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 .. If (desc->status & IRQ_INPROGRESS) remains true throughout the execution of the threaded (and thus preemptible) interrupt handler, then the synchronize_irq() should do the trick. Thanx, Paul -- 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