Page MenuHomeFreeBSD

D51085.id54425.diff
No OneTemporary

D51085.id54425.diff

diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -1745,7 +1745,8 @@
* Each NDMPML4E allows 512 GB, so limit to that,
* and then readjust ndmpdp and ndmpdpphys.
*/
- printf("NDMPML4E limits system to %d GB\n", NDMPML4E * 512);
+ printf("NDMPML4E limits system to %lu GB\n",
+ (u_long)NDMPML4E * NBPML4 / 1024 / 1024 / 1024);
Maxmem = atop(NDMPML4E * NBPML4);
ndmpdpphys = NDMPML4E;
ndmpdp = NDMPML4E * NPDEPG;

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 1, 12:25 PM (18 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28365162
Default Alt Text
D51085.id54425.diff (511 B)

Event Timeline