diff options
author | Alan Cox <alc@FreeBSD.org> | 2004-03-30 08:00:11 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2004-03-30 08:00:11 +0000 |
commit | 1dc10fceaac215fc7297978b8f43533032f975be (patch) | |
tree | e84aa2755c5baf04026f07706546af65dfb7ff01 /sys/kern/subr_param.c | |
parent | 9137d52af5a203b1b3994fe247fa62cb7d344e32 (diff) |
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r-- | sys/kern/subr_param.c | 8 |
1 files 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); } |