freebsd-skq/sys
Mateusz Guzik 3862838921 cache: reduce memory waste in struct namecache
The previous scheme for calculating the total size was doing sizeof
on the struct and then adding the wanted space for the buffer.

nc_name is at offset 58 while sizeof(struct namecache) is 64.
With CACHE_PATH_CUTOFF of 39 bytes and 1 byte of padding we were
allocating 104 bytes for the entry and never accounting for the 6
byte padding, wasting that space.
2020-10-23 15:56:22 +00:00
..
amd64 Improve FPU Tag Word reconstruction on i386 to indicate register states. 2020-10-21 00:15:12 +00:00
arm Simplify preload_dump() condition 2020-10-15 20:21:15 +00:00
arm64 Micro-optimize uma_small_alloc(). Replace bzero(..., PAGE_SIZE) by 2020-10-22 17:47:51 +00:00
bsm bsm: add AUE_CLOSERANGE 2020-04-24 01:27:25 +00:00
cam vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
cddl Update OpenZFS to 2.0.0-rc3-gfc5966 2020-10-17 01:06:04 +00:00
compat Improve prctl(2) debug. 2020-10-23 12:00:30 +00:00
conf Fix for monotolithic kernel builds using device lagg(4). 2020-10-22 10:29:27 +00:00
contrib vfs: drop spurious cache_purge on rmdir 2020-10-23 15:50:49 +00:00
crypto Add a new CCP device ID found on my Ryzen 5 3600XT. 2020-10-22 17:46:55 +00:00
ddb ddb: clean up empty lines in .c and .h files 2020-09-01 22:14:30 +00:00
dev ntb: Fix the 32-bit build after r366969 2020-10-23 15:12:06 +00:00
dts Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
fs vfs: drop spurious cache_purge on rmdir 2020-10-23 15:50:49 +00:00
gdb gdb(4): Don't escape GDB special characters at application layer 2020-09-30 14:55:54 +00:00
geom geom_ctl.c: remove stale header files 2020-10-20 20:59:13 +00:00
gnu Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
i386 Improve FPU Tag Word reconstruction on i386 to indicate register states. 2020-10-21 00:15:12 +00:00
isa
kern cache: reduce memory waste in struct namecache 2020-10-23 15:56:22 +00:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern arc4random(9): Integrate with RANDOM_FENESTRASX push-reseed 2020-10-10 21:48:06 +00:00
mips Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
modules Factor out generic IP over infiniband, IPoIB, definitions and code 2020-10-22 09:09:53 +00:00
net if_vxlan(4): csum_flags_to_inner_flags takes the tunnel protocol as a parameter. 2020-10-22 17:05:55 +00:00
net80211 net80211: factor out the priv(9) checks into OS specifc code. 2020-10-18 21:34:04 +00:00
netgraph ng_l2tp: Fix callout synchronization in the rexmit timeout handler 2020-09-25 18:55:50 +00:00
netinet icmp6: Count packets dropped due to an invalid hop limit 2020-10-19 17:07:19 +00:00
netinet6 icmp6: Count packets dropped due to an invalid hop limit 2020-10-19 17:07:19 +00:00
netipsec Trigger soft lifetime expiration on sequence number 2020-10-16 11:27:01 +00:00
netpfil Add dtrace SDT probe ipfw:::rule-matched. 2020-10-21 15:01:33 +00:00
netsmb net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
nfs nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed Factor out generic IP over infiniband, IPoIB, definitions and code 2020-10-22 09:09:53 +00:00
opencrypto Fix a couple of bugs for asym crypto introduced in r359374. 2020-10-19 20:04:03 +00:00
powerpc Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
riscv riscv: zero reserved PTE bits for L2 PTEs 2020-10-17 17:31:06 +00:00
rpc Fix a potential memory leak in the NFS over TLS handling code. 2020-09-05 00:50:52 +00:00
security mac_framework.h: fix build with DEBUG_VFS_LOCKS and !MAC 2020-09-03 20:30:52 +00:00
sys vfs: prevent avoidable evictions on mkdir of existing directories 2020-10-22 19:28:12 +00:00
teken Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
tests Add small tool to invoke kernel test framework tests. 2020-09-02 09:20:40 +00:00
tools Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
ufs vfs: drop spurious cache_purge on rmdir 2020-10-23 15:50:49 +00:00
vm Conditionally compile struct vm_phys_seg's md_first field. This field is 2020-10-23 06:24:38 +00:00
x86 Assign the reserved apic region (GAS entry) to the iommu domain msi_entry. 2020-10-19 15:50:58 +00:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: clean up empty lines in .c and .h files 2020-09-01 21:21:55 +00:00
Makefile