freebsd-dev/sys/amd64
Mateusz Guzik f0648bcc04 amd64: get rid of the pessimized bcopy in syscall arg copy
The code was unnecessarily conditionally copying either 5 or 6 args.
It can blindly copy 6, which also means the size is known at compilation
time and the operation can be depessimized.

Note the entire syscall handling code is rather slow.

Tested on Skylake, sample result for getppid (calls/s):
without pti: 7310106 -> 10653569
with pti: 3304843 -> 4148306

Some syscalls (like read) did not note any difference, other have typically
very modest wins.
2018-05-04 04:05:07 +00:00
..
acpica Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
amd64 amd64: get rid of the pessimized bcopy in syscall arg copy 2018-05-04 04:05:07 +00:00
cloudabi32 Use TO_PTR() to convert integers to pointers. 2017-11-26 14:45:56 +00:00
cloudabi64 Use TO_PTR() to convert integers to pointers. 2017-11-26 14:45:56 +00:00
conf move smartpqi(4) controller out of NOTES and into sys/amd64/NOTES to 2018-04-26 22:43:25 +00:00
ia32 Fix PSL_T inheritance on exec for x86. 2018-04-12 20:43:39 +00:00
include Expand the checks for UCR3 == PMAP_NO_CR3 to enable processes to be 2018-04-27 12:44:20 +00:00
linux Simplify the code to allocate stack for auxv, argv[], and environment vectors. 2018-04-19 16:00:34 +00:00
linux32 Simplify the code to allocate stack for auxv, argv[], and environment vectors. 2018-04-19 16:00:34 +00:00
pci sys/amd64: further adoption of SPDX licensing ID tags. 2017-11-27 15:03:07 +00:00
sgx Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
vmm Use PCI power-mgmt to reset a device if FLR fails. 2018-05-02 17:41:00 +00:00
Makefile Bring the tags and links entries for amd64 up to date. 2015-10-27 22:59:24 +00:00