Re: [PATCH v4 4/9] kentry: Simplify the common syscall API

2021-03-19 Thread Thomas Gleixner
On Wed, Mar 17 2021 at 11:12, Andy Lutomirski wrote: > @@ -119,31 +119,12 @@ static inline __must_check int > arch_syscall_enter_tracehook(struct pt_regs *regs > void enter_from_user_mode(struct pt_regs *regs); > > /** > + * kentry_syscall_begin - Prepare to invoke a syscall handler > *

Re: [PATCH v4 4/9] kentry: Simplify the common syscall API

2021-03-19 Thread Thomas Gleixner
On Wed, Mar 17 2021 at 11:12, Andy Lutomirski wrote: > The new common syscall API had a large and confusing API surface. Simplify > it. Now there is exactly one way to use it. It's a bit more verbose than > the old way for the simple x86_64 native case, but it's much easier to use > right, and

[PATCH v4 4/9] kentry: Simplify the common syscall API

2021-03-17 Thread Andy Lutomirski
The new common syscall API had a large and confusing API surface. Simplify it. Now there is exactly one way to use it. It's a bit more verbose than the old way for the simple x86_64 native case, but it's much easier to use right, and the diffstat should speak for itself. Acked-by: Mark Rutland