Re: [GIT pull] x86/timers for 4.10

From: Mike Galbraith
Date: Thu Feb 23 2017 - 08:31:05 EST


On Thu, 2017-02-23 at 11:26 +0100, Borislav Petkov wrote:
> On Thu, Feb 23, 2017 at 09:20:06AM +0100, Mike Galbraith wrote:
> > --- a/arch/x86/kernel/tsc_sync.c
> > +++ b/arch/x86/kernel/tsc_sync.c
> > @@ -294,7 +294,7 @@ void check_tsc_sync_source(int cpu)
> > > > > > if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST))
> > > > > > > > atomic_set(&test_runs, 1);
> > > > > > else
> > -> > > > > > atomic_set(&test_runs, 3);
> > +> > > > > > atomic_set(&test_runs, 5);
>
> So
> > > atomic_set(&test_runs, max_t(unsigned int, 3, num_online_nodes() + 1));

I don't know that there is a correlation, ergo the "log" wording ;-)

-Mike