Source-Changes archive

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

CVS commit: src/sys

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

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