| From | Sent On | Attachments |
|---|---|---|
| Arun Sharma | Feb 7, 2003 5:11 pm | |
| Arun Sharma | Feb 13, 2003 4:17 pm | |
| Marcel Moolenaar | Feb 13, 2003 4:23 pm | |
| Arun Sharma | Feb 13, 2003 4:46 pm | |
| Marcel Moolenaar | Feb 13, 2003 5:02 pm | |
| Arun Sharma | Feb 14, 2003 5:35 pm | |
| Marcel Moolenaar | Feb 14, 2003 6:16 pm | |
| Arun Sharma | Feb 15, 2003 11:00 am | |
| Marcel Moolenaar | Feb 15, 2003 12:58 pm |
| Subject: | Re: Maxmem should be bytes ? | |
|---|---|---|
| From: | Arun Sharma (ar...@sharma-home.net) | |
| Date: | Feb 15, 2003 11:00:08 am | |
| List: | org.freebsd.freebsd-ia64 | |
On Fri, Feb 14, 2003 at 06:16:42PM -0800, Marcel Moolenaar wrote:
i386 does something equivalent.
Your patch changes the granularity for Maxmem from pages to bytes. On all architectures it should be pages. On i386 you see atop(), which is the opposite of ia64_ptob().
Ah, you're right. I saw one incorrect usage of Maxmem and assumed that Maxmem should be in bytes. So only necessary change then is:
--- pmap.c- Sat Feb 15 09:47:50 2003 +++ pmap.c Sat Feb 15 09:48:15 2003 @@ -363,7 +363,7 @@ * enough sparse, causing us to (try to) create a huge VHPT. */ vhpt_size = 15; - while ((1<<vhpt_size) < ia64_btop(Maxmem) * 32) + while ((1<<vhpt_size) < (Maxmem * 32)) vhpt_size++;
vhpt_base = 0;
-Arun
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message





