Module Name: src
Committed By: ad
Date: Thu Sep 7 20:12:33 UTC 2023
Modified Files:
src/sys/kern: uipc_socket.c
Log Message:
Fix a ~16 year old perf regression: when creating a socket, add a reference
to the caller's credentials rather than copying them. On an 80486DX2/66 this
seems to ~halve the time taken to create a socket.
To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 src/sys/kern/uipc_socket.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.