diff options
author | 1997-02-05 14:28:57 +0000 | |
---|---|---|
committer | 1997-02-05 14:28:57 +0000 | |
commit | b766b96f94e8640c1bfcc5fdb2f14bf480b8b61a (patch) | |
tree | 06ab7f7f3314226346f9413c2f05fb6acbb88a8f | |
parent | need not clear options since bad ones cause exit; provos@ws1.physnet.uni-hamburg.de (diff) | |
download | wireguard-openbsd-b766b96f94e8640c1bfcc5fdb2f14bf480b8b61a.tar.xz wireguard-openbsd-b766b96f94e8640c1bfcc5fdb2f14bf480b8b61a.zip |
mv comment to proper place
-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) / |