From 89c1ecfade87e30bab451ab96c73bf89435e08d4 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 15 Feb 2003 20:58:32 +0000 Subject: Fix misuse of Maxmem in the calculation of the VHPT size. Maxmem is already in pages, so we should not convert from bytes to pages. The result of this bug was bad scaling of the VHPT relative to the available memory. Submitted by: Arun Sharma --- sys/ia64/ia64/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index e5587b9b7a2b1..82135fe26a477 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -362,7 +362,7 @@ pmap_bootstrap() * enough sparse, causing us to (try to) create a huge VHPT. */ vhpt_size = 15; - while ((1<