Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/21/2003 22:55:47
Module Name: src
Committed By: thorpej
Date: Tue Oct 21 22:55:47 UTC 2003
Modified Files:
src/sys/conf: param.c
src/sys/kern: kern_sysctl.c uipc_socket.c uipc_socket2.c
src/sys/sys: socketvar.h
Log Message:
Cache the "adjusted" value of sb_max when sb_max is changed, in order
to avoid doing quad math in sbreserve().
Change suggested by Simon Burge, and code inspired by a similar change
in FreeBSD.
To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 src/sys/conf/param.c
cvs rdiff -r1.150 -r1.151 src/sys/kern/kern_sysctl.c
cvs rdiff -r1.90 -r1.91 src/sys/kern/uipc_socket.c
cvs rdiff -r1.57 -r1.58 src/sys/kern/uipc_socket2.c
cvs rdiff -r1.67 -r1.68 src/sys/sys/socketvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.