On Mon, Jul 27, 2015 at 1:33 PM, Denys Vlasenko <[email protected]> wrote:
> "sysenter_fix_flags" detour does not need to be convoluted anymore,
> straigten it up. However, we still use this:
>
>         jnz     2f
>         jmp     sysenter_jumps_here
> 2:      ...
>
> instead of this:
>
>         jz      sysenter_jumps_here
>         ...
>
> because "cold" conditional forward branch is predicted not taken
> by most CPUs - exactly what we want. Latter version would get it wrong.
>
> Reinstate "why we use SYSRETL instead of SYSEXIT" comment.
>

Acked-by: Andy Lutomirski <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to