Re: [PATCH] x86/retpoline/entry: Disable the entire SYSCALL64 fast path with retpolines on

From: Alan Cox
Date: Fri Jan 26 2018 - 09:24:29 EST


> NetBSD (and the other BSD?) defines a structure for the arguments to
> each syscall.

Goes back to v7 or so but they put the syscall arguments into the uarea
so that no pointers were needed (uarea being a per process mapping at a
fixed address) in order to also reduce pointer dereferencing costs (not
that those matter much on modern processors)

Alan.