Re: [GIT pull] x86/timers for 4.10
From: Borislav Petkov
Date: Thu Feb 23 2017 - 05:27:14 EST
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));
:-)
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--