Re: [PATCH v6 2/9] kernel: entry: Support TIF_SYSCAL_INTERCEPT on common entry code

2020-09-11 Thread Gabriel Krisman Bertazi
pet...@infradead.org writes: > On Fri, Sep 04, 2020 at 04:31:40PM -0400, Gabriel Krisman Bertazi wrote: >> diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h >> index efebbffcd5cc..72ce9ca860c6 100644 >> --- a/include/linux/entry-common.h >> +++ b/include/linux/entry-common.h

Re: [PATCH v6 2/9] kernel: entry: Support TIF_SYSCAL_INTERCEPT on common entry code

2020-09-11 Thread peterz
On Fri, Sep 04, 2020 at 04:31:40PM -0400, Gabriel Krisman Bertazi wrote: > diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h > index efebbffcd5cc..72ce9ca860c6 100644 > --- a/include/linux/entry-common.h > +++ b/include/linux/entry-common.h > @@ -21,10 +21,6 @@ > # define _T

Re: [PATCH v6 2/9] kernel: entry: Support TIF_SYSCAL_INTERCEPT on common entry code

2020-09-07 Thread Christian Brauner
On Fri, Sep 04, 2020 at 04:31:40PM -0400, Gabriel Krisman Bertazi wrote: > Syscalls that use common entry code (x86 at the moment of this writing) > need to have their defines updated inside this commit. This added a > measureable overhead of 1ns to seccomp_benchmark selftests on a > bare-metal AM

[PATCH v6 2/9] kernel: entry: Support TIF_SYSCAL_INTERCEPT on common entry code

2020-09-04 Thread Gabriel Krisman Bertazi
Syscalls that use common entry code (x86 at the moment of this writing) need to have their defines updated inside this commit. This added a measureable overhead of 1ns to seccomp_benchmark selftests on a bare-metal AMD system. Signed-off-by: Gabriel Krisman Bertazi --- arch/x86/include/asm/thre