Re: [PATCH] x86: entry: flush the cache if syscall error
From: Samuel Neves
Date: Fri Oct 12 2018 - 05:22:05 EST
On Thu, Oct 11, 2018 at 8:25 PM Andy Lutomirski <luto@xxxxxxxxxx> wrote:
> What exactly is this trying to protect against? And how many cycles
> should we expect L1D_FLUSH to take?
As far as I could measure, I got 1660 cycles per wrmsr 0x10b, 0x1 on a
Skylake chip, and 1220 cycles on a Skylake-SP.