1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-22 15:47:37 +00:00

Removed "GATEWAY" consideration when calculating number of mbuf clusters.

It now always uses the value that was used for the GATEWAY case.
This commit is contained in:
David Greenman 1995-06-29 08:21:32 +00:00
parent 975f4abc69
commit 3d5e37c501
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9371
2 changed files with 2 additions and 10 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)param.c 8.2 (Berkeley) 1/21/94
* $Id: param.c,v 1.9 1995/05/25 07:36:24 davidg Exp $
* $Id: param.c,v 1.10 1995/06/29 07:06:53 davidg Exp $
*/
#include <sys/param.h>
@ -88,12 +88,8 @@ int ncallout = 16 + NPROC; /* maximum # of timer events */
/* maximum # of mbuf clusters */
#ifndef NMBCLUSTERS
#ifdef GATEWAY
int nmbclusters = 512 + MAXUSERS * 16;
#else
int nmbclusters = 256 + MAXUSERS * 16;
#endif /* GATEWAY */
#else
int nmbclusters = NMBCLUSTERS;
#endif

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)param.c 8.2 (Berkeley) 1/21/94
* $Id: param.c,v 1.9 1995/05/25 07:36:24 davidg Exp $
* $Id: param.c,v 1.10 1995/06/29 07:06:53 davidg Exp $
*/
#include <sys/param.h>
@ -88,12 +88,8 @@ int ncallout = 16 + NPROC; /* maximum # of timer events */
/* maximum # of mbuf clusters */
#ifndef NMBCLUSTERS
#ifdef GATEWAY
int nmbclusters = 512 + MAXUSERS * 16;
#else
int nmbclusters = 256 + MAXUSERS * 16;
#endif /* GATEWAY */
#else
int nmbclusters = NMBCLUSTERS;
#endif