Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

Borislav Petkov
2015-05-01T09:04:05Z

On Thu, Apr 30, 2015 at 04:23:26PM -0700, H. Peter Anvin wrote:
> I probably should have added that the microbenchmark specifically tests
> for an atomic 5-byte NOP (as required by tracepoints etc.) If the
> requirement for 5-byte atomic is dropped there might be faster
> combinations, e.g. 66 66 66 90 might work better on some platforms, or
> using very long 0F 1F sequences.

Right, so I was thinking of extending it for all sizes 1 - 15 and then
run it on boxes. I'll keep you posted.

Thanks for the toy - now I get to have some fun. :-)

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--