Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154321110
D25828.id74980.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
724 B
Referenced Files
None
Subscribers
None
D25828.id74980.diff
View Options
Index: sys/vm/vm_page.c
===================================================================
--- sys/vm/vm_page.c
+++ sys/vm/vm_page.c
@@ -1371,10 +1371,15 @@
KASSERT(vm_page_none_valid(m), ("page %p is valid", m));
KASSERT(!pmap_page_is_mapped(m), ("page %p is mapped", m));
- vm_page_assert_xbusied(m);
KASSERT(m->object != NULL, ("page %p has no object", m));
VM_OBJECT_ASSERT_WLOCKED(m->object);
+ /*
+ * We may be attempting to free the page as part of the handling for an
+ * I/O error, in which case the page was xbusied by a different thread.
+ */
+ vm_page_xbusy_claim(m);
+
/*
* If someone has wired this page while the object lock
* was not held, then the thread that unwires is responsible
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 28, 8:07 PM (8 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32302884
Default Alt Text
D25828.id74980.diff (724 B)
Attached To
Mode
D25828: vm_page_free_invalid(): Relax the xbusy assertion.
Attached
Detach File
Event Timeline
Log In to Comment