Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142246840
D2381.id5044.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
458 B
Referenced Files
None
Subscribers
None
D2381.id5044.diff
View Options
Index: sys/vm/vm_fault.c
===================================================================
--- sys/vm/vm_fault.c
+++ sys/vm/vm_fault.c
@@ -348,6 +348,10 @@
vm_map_lock(fs.map);
if (vm_map_lookup_entry(fs.map, vaddr, &fs.entry) &&
(fs.entry->eflags & MAP_ENTRY_IN_TRANSITION)) {
+ if (fs.vp != NULL) {
+ vput(fs.vp);
+ fs.vp = NULL;
+ }
fs.entry->eflags |= MAP_ENTRY_NEEDS_WAKEUP;
vm_map_unlock_and_wait(fs.map, 0);
} else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 6:42 PM (9 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27697998
Default Alt Text
D2381.id5044.diff (458 B)
Attached To
Mode
D2381: vm_fault: Fix deadlock between vm_map_wire and vm_fault_hold
Attached
Detach File
Event Timeline
Log In to Comment