On Tue, 2007-07-24 at 16:20 +0200, Rodolfo Giometti wrote: > The problem is that we can have several PPS sources into a system and > all these sources will arise their IRQ line (quasi)simultaneously and > I don't wish a CPU may delay one of these IRQ handler due a spinlock > into the pps_event(). > > That's why I'm trying to avoid any lock into pps_event().
The spinlock really wouldn't be held for long. It really shouldn't be a problem, and it shouldn't hold up your timings at all. And presumably you'd have a _different_ spinlock for each source, so they wouldn't stomp on each other at all. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

