[lkml]   [2021]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT PULL] x86/urgent for v5.11-rc7

> On Feb 9, 2021, at 10:09 AM, Linus Torvalds <> wrote:
> On Tue, Feb 9, 2021 at 8:55 AM Andy Lutomirski <> wrote:
>> Or we hack up #CP to handle this case. I don’t quite know how I feel about this.
> I think that's the sane model - if we've replaced the instruction with
> 'int3', and we end up getting #CP due to that, just do the #BP
> handling.
> Anything else would just be insanely complicated, I feel.

The other model is “don’t do that then.”

I suppose a nice property of patching ENDBR to INT3 is that, not only is it atomic, but ENDBR is sort of a NOP, so we don’t need to replace the ENDBR with anything.

> Linus

 \ /
  Last update: 2021-02-09 21:46    [W:0.080 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site