Re: [PATCH] LinuxPPS - definitive version

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

 



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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux