Re: [PATCH] clean up tsc-based sched_clock

2007-04-01 Thread Andi Kleen
On Sunday 01 April 2007 23:41, Jeremy Fitzhardinge wrote: > Three cleanups there: > - change "instable" -> "unstable" > - it's better to use get_cpu_var for getting this cpu's variables > - change cycles_2_ns to do the full computation rather than just the >tsc->ns scaling. It's a simpler i

[PATCH] clean up tsc-based sched_clock

2007-04-01 Thread Jeremy Fitzhardinge
Three cleanups there: - change "instable" -> "unstable" - it's better to use get_cpu_var for getting this cpu's variables - change cycles_2_ns to do the full computation rather than just the tsc->ns scaling. It's a simpler interface, and it makes the function more generally useful. Signe