HardenedBSD/sys
Mateusz Guzik 1463aa8cf2 fd: reorder struct file to reduce false sharing
The size on LP64 is 80 bytes, which is just more than a cacheline, does
not lend itself to easy shrinking and rounding up to 2 would be a huge
waste given NOFREE marker.

The least which can be done is to reorder it so that most commonly used
fields are less likely to span different lines, and consequently suffer
less false sharing.

With the change at hand most commonly used fields land in the same line
about 3/4 of the time, as opposed to 2/4.
2020-11-18 19:47:24 +00:00
..
amd64 'make sysent' for r367773 2020-11-17 19:53:59 +00:00
arm arm64: allwinner: Init the Display Engine clock 2020-11-17 14:58:30 +00:00
arm64 'make sysent' for r367773 2020-11-17 19:53:59 +00:00
bsm
cam Make CTL nicer to increased MAXPHYS. 2020-11-11 21:59:39 +00:00
cddl [cddl] Fix lz4 function definitions to not tri pup compile. 2020-11-17 17:11:07 +00:00
compat Allow LinuxKPI types to be used in bootloaders, by checking for the 2020-11-18 13:47:11 +00:00
conf Introduce IOMMU support for arm64 platform. 2020-11-16 21:55:52 +00:00
contrib Adjust ENA driver files to latest ena-com changes 2020-11-18 14:59:22 +00:00
crypto Check cipher key lengths during probesession. 2020-11-05 23:31:58 +00:00
ddb
dev ipheth(4): Fix for iOS 14 2020-11-18 19:35:30 +00:00
dts
fs nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
gdb
geom gbde: replace malloc_last_fail with a kludge 2020-11-12 20:20:57 +00:00
gnu
i386 'make sysent' for r367773 2020-11-17 19:53:59 +00:00
isa
kern Fix a few nits in vn_printf(). 2020-11-18 16:21:37 +00:00
kgssapi
libkern
mips Fix octeon_pmc post-r334827 2020-11-18 17:37:01 +00:00
modules Add SPDX license tag to the ENA driver files 2020-11-18 15:07:34 +00:00
net LACP: When suppressing distributing, return ENOBUFS 2020-11-18 14:55:49 +00:00
net80211
netgraph ng_nat: unbreak ABI 2020-11-10 02:26:44 +00:00
netinet ip_fastfwd: style(9) tidy for r367628 2020-11-13 18:25:07 +00:00
netinet6 Fix implicit automatic local port selection for IPv6 during connect calls. 2020-11-14 14:50:34 +00:00
netipsec
netpfil
netsmb
nfs
nfsclient
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm
ofed
opencrypto Use void * in place of caddr_t. 2020-11-06 18:09:52 +00:00
powerpc [POWERPC] fix signal race condition 2020-11-17 12:33:12 +00:00
riscv
rpc
security
sys fd: reorder struct file to reduce false sharing 2020-11-18 19:47:24 +00:00
teken
tests
tools
ufs Handle LoR in flush_pagedep_deps(). 2020-11-14 05:30:10 +00:00
vm vm_map: Handle kernel map entry allocator recursion 2020-11-11 17:16:39 +00:00
x86 Add device_t member to struct iommu. 2020-11-16 15:29:52 +00:00
xdr
xen
Makefile