Page MenuHomeFreeBSD

D25828.id.diff
No OneTemporary

D25828.id.diff

Index: head/sys/vm/vm_page.c
===================================================================
--- head/sys/vm/vm_page.c
+++ head/sys/vm/vm_page.c
@@ -1371,9 +1371,14 @@
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

File Metadata

Mime Type
text/plain
Expires
Sun, Jul 19, 7:19 AM (9 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35225730
Default Alt Text
D25828.id.diff (675 B)

Event Timeline