lkml.org 
[lkml]   [2010]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2010-12-18 01:55    [W:1.254 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site