summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
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 36608d1..52c6f16 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.
*/
OpenPOWER on IntegriCloud