Re: [patch] recover losed timer interrupt using the TSC [Re: [patch] kstat change to see how much Li

Andi Kleen (ak@muc.de)
Sun, 14 Mar 1999 11:51:56 +0100


On Sun, Mar 14, 1999 at 10:53:23AM +0100, Ingo Molnar wrote:
>
> On Sun, 14 Mar 1999, Andrea Arcangeli wrote:
>
> > Infact people is starting to report that its machine clock is losing
> > time.
>
> i think it is more correct to define this a bug and print out a warning if
> a too long delay happens. (patch against 2.2.3 attached) It's also a much
> shorter and less intrusive patch. (it actually removes 13 lines) The
> patch:
>
> - prints a warning if a too long delay happens, eg.:
>
> bug: 000000001809cc03 cycles timer IRQ delay from c0107413
>
> (the above message was triggered artificially) The EIP is
> probably from the place where the long delay happened, but not
> necessarily. It's at least a starting point. IRQ0 has the highest
> priority, so we very likely will see some 'near' EIP.

Perhaps it is a good idea to only print the warning a few times, to avoid
flooding the logs.

-Andi

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