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

