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

Alexander Gordeev
2010-12-18T00:52:53Z

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

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

> On Fri, 17 Dec 2010 22:54:40 +0300
> Alexander Gordeev <lasaine@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]