Re: [PATCH RFC v2 1/6] x86: Skip PTI when disable indication is set

From: Dave Hansen
Date: Thu Feb 15 2018 - 13:10:27 EST


On 02/15/2018 08:35 AM, Nadav Amit wrote:
> +.Lno_spec_\@:
> + lfence
> + jmp .Lend_\@
> +
> .Lnoflush_\@:
> SET_NOFLUSH_BIT \save_reg
>

How expensive is this?