search for: cpufreq_scale

Displaying 4 results from an estimated 4 matches for "cpufreq_scale".

2018 Oct 04
3
[patch 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support
> On Oct 4, 2018, at 12:31 PM, Peter Zijlstra <peterz at infradead.org> wrote: > > On Thu, Oct 04, 2018 at 07:00:45AM -0700, Andy Lutomirski wrote: >>> On Oct 4, 2018, at 1:11 AM, Peter Zijlstra <peterz at infradead.org> wrote: >>> >>>> On Thu, Oct 04, 2018 at 09:54:45AM +0200, Vitaly Kuznetsov wrote: >>>> I was hoping to hear this
2018 Oct 04
3
[patch 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support
> On Oct 4, 2018, at 12:31 PM, Peter Zijlstra <peterz at infradead.org> wrote: > > On Thu, Oct 04, 2018 at 07:00:45AM -0700, Andy Lutomirski wrote: >>> On Oct 4, 2018, at 1:11 AM, Peter Zijlstra <peterz at infradead.org> wrote: >>> >>>> On Thu, Oct 04, 2018 at 09:54:45AM +0200, Vitaly Kuznetsov wrote: >>>> I was hoping to hear this
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...TOR; -} - static int count2; /* counter for mark_offset_tsc() */ /* Cached *multiplier* to convert TSC counts to microseconds. @@ -305,7 +272,7 @@ time_cpufreq_notifier(struct notifier_bl if (use_tsc) { if (!(freq->flags & CPUFREQ_CONST_LOOPS)) { fast_gettimeoffset_quotient = cpufreq_scale(fast_gettimeoffset_ref, freq->new, ref_freq); - set_cyc2ns_scale(cpu_khz); + set_cyc_scales(cpu_khz); } } #endif @@ -540,6 +507,7 @@ static int __init init_tsc(char* overrid } if (tsc_quotient) { + init_xtime_from_cmos(); fast_gettimeoffset_quotient = tsc_quotient;...
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...TOR; -} - static int count2; /* counter for mark_offset_tsc() */ /* Cached *multiplier* to convert TSC counts to microseconds. @@ -305,7 +272,7 @@ time_cpufreq_notifier(struct notifier_bl if (use_tsc) { if (!(freq->flags & CPUFREQ_CONST_LOOPS)) { fast_gettimeoffset_quotient = cpufreq_scale(fast_gettimeoffset_ref, freq->new, ref_freq); - set_cyc2ns_scale(cpu_khz); + set_cyc_scales(cpu_khz); } } #endif @@ -540,6 +507,7 @@ static int __init init_tsc(char* overrid } if (tsc_quotient) { + init_xtime_from_cmos(); fast_gettimeoffset_quotient = tsc_quotient;...