Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163187983
D28922.id84675.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
712 B
Referenced Files
None
Subscribers
None
D28922.id84675.diff
View Options
Index: sys/amd64/amd64/pmap.c
===================================================================
--- sys/amd64/amd64/pmap.c
+++ sys/amd64/amd64/pmap.c
@@ -11348,8 +11348,7 @@
continue;
}
pa = pdpe & PG_FRAME;
- if (PMAP_ADDRESS_IN_LARGEMAP(sva) &&
- vm_phys_paddr_to_vm_page(pa) == NULL)
+ if (PMAP_ADDRESS_IN_LARGEMAP(sva) && pa >= dmaplimit)
goto restart;
if ((pdpe & PG_PS) != 0) {
sva = rounddown2(sva, NBPDP);
@@ -11371,7 +11370,7 @@
}
pa = pde & PG_FRAME;
if (PMAP_ADDRESS_IN_LARGEMAP(sva) &&
- vm_phys_paddr_to_vm_page(pa) == NULL)
+ pa >= dmaplimit)
goto restart;
if ((pde & PG_PS) != 0) {
sva = rounddown2(sva, NBPDR);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 21, 9:24 PM (4 m, 29 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35333948
Default Alt Text
D28922.id84675.diff (712 B)
Attached To
Mode
D28922: pmap: Fix largemap restart checks in the kernel_maps sysctl handler
Attached
Detach File
Event Timeline
Log In to Comment