From 1dc10fceaac215fc7297978b8f43533032f975be Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 30 Mar 2004 08:00:11 +0000 Subject: [PATCH] White space and wording changes to init_param3(). Mostly submitted by: bde --- sys/kern/subr_param.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index e7421b72aaa3..9e00c3dfd842 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); }