summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-03-30 08:00:11 +0000
committeralc <alc@FreeBSD.org>2004-03-30 08:00:11 +0000
commit707630ec9cb98dccf884c1360df4b13d2384890c (patch)
treee84aa2755c5baf04026f07706546af65dfb7ff01 /sys/kern/subr_param.c
parent79c8b2680ecc6deb471ded26930a64d439b930e1 (diff)
downloadFreeBSD-src-707630ec9cb98dccf884c1360df4b13d2384890c.zip
FreeBSD-src-707630ec9cb98dccf884c1360df4b13d2384890c.tar.gz
White space and wording changes to init_param3().
Mostly submitted by: bde
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index e7421b7..9e00c3d 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -181,15 +181,13 @@ init_param2(long physpages)
void
init_param3(long kmempages)
{
+
/*
- * Limit pageable pipe memory usage to 5% of the kernel map
- * (via pipe_map). Ensure that all have reasonable floors.
- * (See sys_pipe.c for more info.)
+ * The default for maxpipekva is max(5% of the kernel map, 512KB).
+ * See sys_pipe.c for more details.
*/
maxpipekva = (kmempages / 20) * PAGE_SIZE;
-
if (maxpipekva < 512 * 1024)
maxpipekva = 512 * 1024;
-
TUNABLE_INT_FETCH("kern.ipc.maxpipekva", &maxpipekva);
}
OpenPOWER on IntegriCloud