Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/kern



Module Name:    src
Committed By:   martin
Date:           Wed Sep 11 16:26:58 UTC 2024

Modified Files:
        src/sys/kern [netbsd-10]: uipc_socket.c uipc_syscalls.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #830):

        sys/kern/uipc_socket.c: revision 1.304
        sys/kern/uipc_syscalls.c: revision 1.207

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.

Fix a ~16 year old perf regression: when accepting a connection, add a
reference to the caller's credentials rather than copying them.


To generate a diff of this commit:
cvs rdiff -u -r1.302.4.2 -r1.302.4.3 src/sys/kern/uipc_socket.c
cvs rdiff -u -r1.206.4.1 -r1.206.4.2 src/sys/kern/uipc_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index