Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue
From: Borislav Petkov
Date: Fri May 01 2015 - 05:04:08 EST
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.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/