summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/machdep.c4
-rw-r--r--sys/i386/i386/machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 0a21983..b65c5bb 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.219 1996/12/12 04:20:50 davidg Exp $
+ * $Id: machdep.c,v 1.220 1996/12/14 22:18:38 jkh Exp $
*/
#include "npx.h"
@@ -282,7 +282,7 @@ again:
if (nbuf == 0) {
nbuf = 30;
if( physmem > 1024)
- nbuf += min((physmem - 1024) / 4, 2048);
+ nbuf += min((physmem - 1024) / 8, 2048);
}
nswbuf = max(min(nbuf/4, 128), 16);
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 0a21983..b65c5bb 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.219 1996/12/12 04:20:50 davidg Exp $
+ * $Id: machdep.c,v 1.220 1996/12/14 22:18:38 jkh Exp $
*/
#include "npx.h"
@@ -282,7 +282,7 @@ again:
if (nbuf == 0) {
nbuf = 30;
if( physmem > 1024)
- nbuf += min((physmem - 1024) / 4, 2048);
+ nbuf += min((physmem - 1024) / 8, 2048);
}
nswbuf = max(min(nbuf/4, 128), 16);
OpenPOWER on IntegriCloud