Re: too many timer retries happen when do local timer swtich withbroadcast timer
From: Thomas Gleixner
Date: Thu Feb 21 2013 - 17:19:24 EST
On Thu, 21 Feb 2013, Santosh Shilimkar wrote:
> On Thursday 21 February 2013 07:18 PM, Thomas Gleixner wrote:
> > find below a completely untested patch, which should address that issue.
> >
> After looking at the thread, I tried to see the issue on OMAP and could
> see the same issue as Jason.
That's interesting. We have the same issue on x86 since 2007 and
nobody noticed ever. It's basically the same problem there, but it
seems that on x86 getting out of those low power states is way slower
than the minimal reprogramming delta which is used to enforce the
local timer to fire after the wakeup.
I'm still amazed that as Jason stated a 1us reprogramming delta is
sufficient to get this ping-pong going. I somehow doubt that, but
maybe ARM is really that fast :)
> Your patch fixes the retries on both CPUs on my dual core machine. So
> you use my tested by if you need one.
They are always welcome.
> Tested-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
>
> Thanks for the patch.
> And thanks to Jason for spotting the issue.
And for coping with my initial inability to parse his report!
Thanks,
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/