From 6385e71c33db156836948a6b8b503d53f9e1c37a Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 9 Dec 1996 08:36:41 +0000 Subject: [PATCH] minor whoops --- sys/arch/i386/i386/machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 0743c49c7ae..ee62226a4ee 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.29 1996/12/05 18:08:06 dm Exp $ */ +/* $OpenBSD: machdep.c,v 1.30 1996/12/09 08:36:41 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.202 1996/05/18 15:54:59 christos Exp $ */ /*- @@ -376,8 +376,8 @@ allocsys(v) ((100/BUFCACHEPERCENT) * CLSIZE); /* Restrict to at most 70% filled kvm */ - if (bufpages * MAXBSIZE * 7 / 10 > - (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS)) + if (bufpages * MAXBSIZE > + (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS) * 7 / 10) bufpages = (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS) / MAXBSIZE * 7 / 10; if (nbuf == 0) { -- 2.20.1