lkml.org 
[lkml]   [2018]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86/retpoline/entry: Disable the entire SYSCALL64 fast path with retpolines on
On Fri, Jan 26, 2018 at 10:07 AM, Al Viro <viro@zeniv.linux.org.uk> wrote:
>
> Umm... What about other architectures? Or do you want SYSCALL_DEFINE...
> to be per-arch? I wonder how much would that "go through pt_regs" hurt
> on something like sparc...

No, but I just talked to Will Deacon about register clearing on entry,
and so I suspect that arm64 might want something similar too.

So I think some opt-in for letting architectures add their own
function would be good. Because it wouldn't be all architectures, but
it probably _would_ be more than just x86.

You need to add architecture-specific "load argX from ptregs" macros anyway.

Linus

\
 
 \ /
  Last update: 2018-01-26 19:13    [W:0.054 / U:1.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site