summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2003-02-16 19:25:04 +0000
committergallatin <gallatin@FreeBSD.org>2003-02-16 19:25:04 +0000
commit523e67fb9eb4dba7699f4cf661ffc43ea5e63a77 (patch)
tree63c10dcee2a37876faa23c1b9cbebaaffa5940d9 /sys/alpha
parent5d80f8f84b2e36b72f7a133e23179ec3f9bab94d (diff)
downloadFreeBSD-src-523e67fb9eb4dba7699f4cf661ffc43ea5e63a77.zip
FreeBSD-src-523e67fb9eb4dba7699f4cf661ffc43ea5e63a77.tar.gz
zero the end of the memory cluster we're disposing of. Otherwise teh
vm page startup code finds a 20GB cluster on this wacky alphaserver I'm working on.. MFC After: 7 days
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c
index 2ce041b..614f50b 100644
--- a/sys/alpha/alpha/machdep.c
+++ b/sys/alpha/alpha/machdep.c
@@ -826,6 +826,7 @@ alpha_init(pfn, ptb, bim, bip, biv)
size_t nsz;
if (physmem - sz > Maxmem) {
phys_avail[i] = 0;
+ phys_avail[i+1] = 0;
phys_avail_cnt -= 2;
physmem -= sz;
} else {
OpenPOWER on IntegriCloud