Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102943346
D27956.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
451 B
Referenced Files
None
Subscribers
None
D27956.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
@@ -9490,6 +9490,8 @@
pa = 0;
val = 0;
pdpe = pmap_pdpe(pmap, addr);
+ if (pdpe == NULL)
+ goto out;
if ((*pdpe & PG_V) != 0) {
if ((*pdpe & PG_PS) != 0) {
pte = *pdpe;
@@ -9525,6 +9527,7 @@
(pte & (PG_MANAGED | PG_V)) == (PG_MANAGED | PG_V)) {
*pap = pa;
}
+out:
PMAP_UNLOCK(pmap);
return (val);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 1:24 AM (21 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14727092
Default Alt Text
D27956.diff (451 B)
Attached To
Mode
D27956: amd64 pmap: do not sleep in _pmap_allocpte() with zero referenced page table page.
Attached
Detach File
Event Timeline
Log In to Comment