diff options
| author | Mike Silbersack <silby@FreeBSD.org> | 2001-12-13 20:00:45 +0000 |
|---|---|---|
| committer | Mike Silbersack <silby@FreeBSD.org> | 2001-12-13 20:00:45 +0000 |
| commit | ebacce5e997681d9f8538f2c64b670415368d739 (patch) | |
| tree | c49a7856eba4f2cffc03fdc7afac9141a97149a1 /sys/kern/subr_param.c | |
| parent | 7118b0c4c320660c505b92f9e9a3fb42153d47e8 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
| -rw-r--r-- | sys/kern/subr_param.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 06a3dc2dc603..4d47f0fa622b 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -150,8 +150,8 @@ init_param2(int physpages) TUNABLE_INT_FETCH("kern.maxproc", &maxproc); maxfiles = MAXFILES; TUNABLE_INT_FETCH("kern.maxfiles", &maxfiles); - maxprocperuid = maxproc - 1; - maxfilesperproc = maxfiles; + maxprocperuid = (maxproc * 9) / 10; + maxfilesperproc = (maxfiles * 9) / 10; /* * Cannot be changed after boot. |
