Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1586797

Re: [GIT pull] x86/timers for 4.10

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [GIT pull] x86/timers for 4.10
Date 2017-02-23 11:30 +0100
Message-ID <tdYOS-8mZ-11@gated-at.bofh.it> (permalink)
References (1 earlier) <t82Vb-4qF-5@gated-at.bofh.it> <t8yV4-8fB-21@gated-at.bofh.it> <t8Aau-Kl-15@gated-at.bofh.it> <t8Ywa-7IY-29@gated-at.bofh.it> <tdWWK-76D-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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)
-- 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [GIT pull] x86/timers for 4.10 Mike Galbraith <efault@gmx.de> - 2017-02-23 09:30 +0100
  Re: [GIT pull] x86/timers for 4.10 Peter Zijlstra <peterz@infradead.org> - 2017-02-23 10:20 +0100
  Re: [GIT pull] x86/timers for 4.10 Borislav Petkov <bp@suse.de> - 2017-02-23 11:30 +0100
    Re: [GIT pull] x86/timers for 4.10 Mike Galbraith <efault@gmx.de> - 2017-02-23 14:40 +0100

csiph-web