summaryrefslogtreecommitdiff
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-09-11 17:20:03 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-09-11 17:20:03 +0000
commit0e1e5c22c20e636264ff1284083c6af7a1b282cb (patch)
tree09add9017de3c98451b1eaf85a24b608cf228e4b /sys/kern/subr_param.c
parent6160f3cfcac58513eef46e925b0bf15681e88512 (diff)
parent92392e798859a0d87094d6c0b22afee48fde7881 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index 36608d1f52b8..52c6f167f753 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -265,7 +265,8 @@ init_param2(long physpages)
if (maxfiles > (physpages / 4))
maxfiles = physpages / 4;
maxfilesperproc = (maxfiles / 10) * 9;
-
+ TUNABLE_INT_FETCH("kern.maxfilesperproc", &maxfilesperproc);
+
/*
* Cannot be changed after boot.
*/