Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/17/2004 15:15:29
Module Name: src
Committed By: christos
Date: Sat Apr 17 15:15:29 UTC 2004
Modified Files:
src/sys/kern: kern_proc.c kern_prot.c kern_resource.c uipc_socket.c
uipc_socket2.c uipc_usrreq.c
Log Message:
PR/9347: Eric E. Fair: socket buffer pool exhaustion leads to system deadlock
and unkillable processes.
1. Introduce new SBSIZE resource limit from FreeBSD to limit socket buffer
size resource.
2. make sokvareserve interruptible, so processes ltsleeping on it can be
killed.
To generate a diff of this commit:
cvs rdiff -r1.75 -r1.76 src/sys/kern/kern_proc.c
cvs rdiff -r1.80 -r1.81 src/sys/kern/kern_prot.c
cvs rdiff -r1.78 -r1.79 src/sys/kern/kern_resource.c
cvs rdiff -r1.97 -r1.98 src/sys/kern/uipc_socket.c
cvs rdiff -r1.58 -r1.59 src/sys/kern/uipc_socket2.c
cvs rdiff -r1.74 -r1.75 src/sys/kern/uipc_usrreq.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.