Re: [PATCH] LinuxPPS - definitive version

David Woodhouse
2007-07-24T14:46:53Z

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