[LinuxPPS] [PATCHv6 16/16] pps: add parallel port PPS signal generator

Alexander Gordeev lasaine at lvk.cs.msu.su
Sat Dec 18 01:52:39 CET 2010


В Fri, 17 Dec 2010 16:18:37 -0800
Andrew Morton <akpm at linux-foundation.org> пишет:

> On Fri, 17 Dec 2010 22:54:40 +0300
> Alexander Gordeev <lasaine at lvk.cs.msu.su> wrote:
> 
> > +static enum hrtimer_restart hrtimer_event(struct hrtimer *timer)
> > +{
> > +	struct timespec expire_time, ts1, ts2, ts3, dts;
> > +	struct pps_generator_pp *dev;
> > +	struct parport *port;
> > +	long lim, delta;
> > +	unsigned long flags;
> > +
> > +	/* NB: approx time with blocked interrupts =
> > +	   send_delay + 3 * SAFETY_INTERVAL */
> > +	local_irq_save(flags);
> 
> ditto.

The same thing here: we don't want random lags due to other local
interrupt handlers.

-- 
  Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20101218/472897d6/attachment.pgp 


More information about the LinuxPPS mailing list