lkml.org 
[lkml]   [2009]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] Dynamic Tick: Prevent clocksource wrapping during idle
On Wed, 27 May 2009, john stultz wrote:
> > Why do you want to recalculate the whole stuff over and over ?
> >
> > That computation can be done when the clock source is initialized or
> > any fundamental change of the clock parameters happens.
> >
> > Stick that value into the clocksource struct and just read it out.
>
> Sigh.
>
> I was hoping to avoid hanging another bit of junk off of the clocksource
> struct.

Sure, but buying that 8 bytes with Einsteinian insanity is nuts.

> But I guess we could compute that value on registration and keep it
> around. Changes to mult could effect things, but should be well within
> the 6% safety net we give ourselves.

That was my thought as well, but even if we have to go to 12% it's way
better than doing repeated nonsense on the way to idle.

Thanks,

tglx


\
 
 \ /
  Last update: 2009-05-27 22:35    [W:0.210 / U:0.732 seconds]
©2003-2014 Jasper Spaans. Advertise on this site