Messages in this thread | | | Date | Sat, 18 Dec 2010 03:52:39 +0300 | From | Alexander Gordeev <> | Subject | Re: [PATCHv6 16/16] pps: add parallel port PPS signal generator |
| |
В 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 [unhandled content-type:application/pgp-signature] | |