Re: Ktimer / -rt9 (+custom) monotonic_clock going backwards.

From: Thomas Gleixner
Date: Fri Oct 21 2005 - 13:13:32 EST


On Fri, 2005-10-21 at 11:09 -0700, john stultz wrote:
> On Fri, 2005-10-21 at 02:03 -0400, Steven Rostedt wrote:
> > With rc4-rt13 and changing cycle_t to u64, my machine ran all night
> > without one backward step. Since it use to show up after a couple of
> > hours, I would say that this is the fix.
>
> Great. I've committed that change to my tree already.
>
>
> > John, Do you want me to take a crack at changing the periodic_hook into
> > using the ktimer code? I understand Ingo's kernel much more than you, but
> > you definitely understand the timing code better than I.
>
> If Thomas doesn't think its a good idea, then don't worry about it. I'd
> be somewhat curious just how bad it is, but that can wait for now.

We actually try to keep everything out of hard interrupt context what
can be done elsewhere. Especially out of the timer interrupt.

tglx


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/