NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/38927 CVS commit: src/sys
The following reply was made to PR kern/38927; it has been noted by GNATS.
From: Andrew Doran <ad%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/38927 CVS commit: src/sys
Date: Mon, 16 Jun 2008 11:26:28 +0000 (UTC)
Module Name: src
Committed By: ad
Date: Mon Jun 16 11:26:28 UTC 2008
Modified Files:
src/sys/kern: init_main.c init_sysctl.c
src/sys/sys: param.h
Log Message:
PR kern/38927: processes getting stuck in uvm_map (cv_timedwait), hanging
machine
Assume that a vnode (and associated data structures) costs 2kB in the
worst imaginable case. Don't allow sysctl to set desiredvnodes to a
value that would use more than 75% of KVA or 75% of physical memory.
To generate a diff of this commit:
cvs rdiff -r1.358 -r1.359 src/sys/kern/init_main.c
cvs rdiff -r1.141 -r1.142 src/sys/kern/init_sysctl.c
cvs rdiff -r1.319 -r1.320 src/sys/sys/param.h
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