diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-05 14:28:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-05 14:28:58 +0000 |
commit | 42dc45749dabe4fb353693d6859dd0c4923f6d83 (patch) | |
tree | 87ee988cf17be34910d8d1a248547f73f4341dbc /sys/arch/sparc | |
parent | cea9f565efb87bc31dfe933406221217f7da4d32 (diff) |
mv comment to proper place
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index ded5e96700c..adc9ef338fd 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -334,12 +334,12 @@ allocsys(v) */ if (bufpages == 0) bufpages = (physmem / ((100/BUFCACHEPERCENT) / CLSIZE)); - /* Restrict to at most 70% filled kvm */ if (nbuf == 0) { nbuf = bufpages; if (nbuf < 16) nbuf = 16; } + /* Restrict to at most 70% filled kvm */ if (nbuf * MAXBSIZE > (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS) * 7 / 10) nbuf = (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS) / |