Re: [PATCH 1/2] x86/tsc: Avoid a double call if TSC initializes earlier.

From: Dou Liyang
Date: Mon Jul 30 2018 - 05:53:58 EST


Hi Peter,

At 07/30/2018 05:34 PM, Peter Zijlstra wrote:
On Mon, Jul 30, 2018 at 03:54:20PM +0800, Dou Liyang wrote:
static_branch_enable(&__use_tsc) may be called twice in common case, that
is redundant.

It is also really not a problem...


Yes, right. Just avoid the second useless setting.

Thanks,
dou