Re: [PATCH] x86: static_cpu_has_safe: discard dynamic check after init

From: Borislav Petkov
Date: Mon Jan 18 2016 - 18:26:26 EST


On Mon, Jan 18, 2016 at 03:13:00PM -0800, H. Peter Anvin wrote:
> The optimization has always been there, the question is how often it
> actually kicks in.

Luckily, I have this disassembler tool which dumps the alternatives
sections in a more readable format. I can dump all the static_cpu_has()
call sites tomorrow and we can see what gcc generates.

;-}

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--