lkml.org 
[lkml]   [2011]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/5] x86-64: Remove syscall instructions at fixed addresses

* Andrew Lutomirski <luto@mit.edu> wrote:

> > You could start with picking the more compatible alternative
> > instruction initially. I don't at all mind losing half a cycle of
> > performance in that case ... this code should be secure first.
>
> The more compatible one is mfence, which in some cases could (I
> think) be a lot more than half a cycle.

I'd still suggest to do the mfence change now and remove the
alternatives patching for now - if it's more than half a cycle then
it sure will be implemented properly, right?

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-05-31 15:13    [W:0.066 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site