diff options
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r-- | sys/kern/subr_param.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 454298416c6f..6736b9688de2 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)param.c 8.3 (Berkeley) 8/20/94 - * $Id: param.c,v 1.29 1998/06/30 21:25:35 phk Exp $ + * $Id: param.c,v 1.30 1998/07/11 13:06:38 bde Exp $ */ #include "opt_sysvipc.h" @@ -95,6 +95,12 @@ int maxsockets = MAXSOCKETS; /* allocate 1/4th amount of virtual address space for mbufs XXX */ int nmbufs = NMBCLUSTERS * 4; +/* maximum # of sf_bufs (sendfile(2) zero-copy virtual buffers) */ +#ifndef NSFBUFS +#define NSFBUFS (512 + MAXUSERS * 16) +#endif +int nsfbufs = NSFBUFS; + /* * Values in support of System V compatible shared memory. XXX */ |