[PATCH 2/2] i386: sched_clock() follows percpu frequency changes -v2

2007-05-25 Thread Daniel Walker
Considering that Andi has a similar patch, I'm going to assume there is already justification for this.. What it ends up doing is allows the TSC to be used in cases which we didn't use it before, and hope it's still mostly accurate. For instance, when the frequency changes due to cpufreq we updat

Re: [PATCH 2/2] i386: sched_clock() follows percpu frequency changes

2007-05-12 Thread Daniel Walker
On Sat, 2007-05-12 at 20:58 +0200, Andi Kleen wrote: > On Saturday 12 May 2007 17:43:46 Daniel Walker wrote: > > Considering that Andi has a similar patch, I'm going to assume there > > is already justification for this.. > > I just have a patch for sched_clock, which is somewhat different. > > >

Re: [PATCH 2/2] i386: sched_clock() follows percpu frequency changes

2007-05-12 Thread Andi Kleen
On Saturday 12 May 2007 17:43:46 Daniel Walker wrote: > Considering that Andi has a similar patch, I'm going to assume there > is already justification for this.. I just have a patch for sched_clock, which is somewhat different. > What it ends up doing is allows the TSC to be used in cases which

[PATCH 2/2] i386: sched_clock() follows percpu frequency changes

2007-05-12 Thread Daniel Walker
Considering that Andi has a similar patch, I'm going to assume there is already justification for this.. What it ends up doing is allows the TSC to be used in cases which we didn't use it before, and hope it's still mostly accurate. For instance, when the frequency changes due to cpufreq we updat