diff options
| author | Alan Cox <alc@FreeBSD.org> | 2004-03-27 19:50:23 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2004-03-27 19:50:23 +0000 |
| commit | e3b19536fb495b30f7c24d2adb3004caceaf5da6 (patch) | |
| tree | b2239967d5e44caa884de7b4dff736d434584c9d /sys/kern/subr_param.c | |
| parent | 3dc91da529a432ff94904d930c4706485be5fc6e (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
| -rw-r--r-- | sys/kern/subr_param.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 9eca45f85b73..e7421b72aaa3 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -82,7 +82,6 @@ int nswbuf; int maxswzone; /* max swmeta KVA storage */ int maxbcache; /* max buffer cache KVA storage */ int maxpipekva; /* Limit on pipe KVA */ -int maxpipekvawired; /* Limit on wired pipe KVA */ u_quad_t maxtsiz; /* max text size */ u_quad_t dfldsiz; /* initial data size limit */ u_quad_t maxdsiz; /* max data size */ @@ -184,17 +183,13 @@ init_param3(long kmempages) { /* * Limit pageable pipe memory usage to 5% of the kernel map - * (via pipe_map), and nonpageable pipe memory usage to 2.5% - * of the same. Ensure that all have reasonable floors. + * (via pipe_map). Ensure that all have reasonable floors. * (See sys_pipe.c for more info.) */ maxpipekva = (kmempages / 20) * PAGE_SIZE; - maxpipekvawired = (kmempages / 40) * PAGE_SIZE; if (maxpipekva < 512 * 1024) maxpipekva = 512 * 1024; - if (maxpipekvawired < 512 * 1024) - maxpipekvawired = 512 * 1024; TUNABLE_INT_FETCH("kern.ipc.maxpipekva", &maxpipekva); } |
