Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143772918
D51085.id54425.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
511 B
Referenced Files
None
Subscribers
None
D51085.id54425.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D51085: amd64 pmap: move DMAP out of kernel pml4 table for LA57.
Attached
Detach File
Event Timeline
Log In to Comment