Re: [PATCH 1/3] Updated dynamic tick patches - Fix lost tick

From: Thomas Schlichter
Date: Thu Sep 01 2005 - 02:44:52 EST


Am Donnerstag, 1. September 2005 09:23 schrieb Srivatsa Vaddagiri:
> On Thu, Sep 01, 2005 at 08:29:32AM +0200, Thomas Schlichter wrote:
> > I tested the attached patch during the last night and it sems to work...
>
> A quick feedback on your patch:
>
> A litmus test that I use is if "zero" lost ticks are being hit,
> which we should not w/o a patch like dynamic tick.
>
> I still see zero lost ticks being reported with your patch (during
> bootup atleast) which means all is still not well?

I think this can happen due to this:
http://bugzilla.kernel.org/show_bug.cgi?id=5127

Think about two adjacent regular timer interrupts. Now consider the first one
is handled very late (indeed even after the second interrupt already
occoured). Then will see two "lost" ticks.

Now directly the second timer interrupt handler is executed and, well it sees
there has _nearly_ no time passed, so no "lost" ticks are reported.

I think this could explain it, right?!

Best regards
Thomas Schlichter
-
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/