Page MenuHomeFreeBSD

D21790.diff
No OneTemporary

D21790.diff

Index: head/sys/vm/vm_object.c
===================================================================
--- head/sys/vm/vm_object.c
+++ head/sys/vm/vm_object.c
@@ -2169,10 +2169,11 @@
m = TAILQ_NEXT(m, listq);
}
if (vm_page_xbusied(tm)) {
- for (tobject = object; locked_depth > 1;
+ for (tobject = object; locked_depth >= 1;
locked_depth--) {
t1object = tobject->backing_object;
- VM_OBJECT_RUNLOCK(tobject);
+ if (tm->object != tobject)
+ VM_OBJECT_RUNLOCK(tobject);
tobject = t1object;
}
vm_page_busy_sleep(tm, "unwbo", true);

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 8:46 AM (11 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15603002
Default Alt Text
D21790.diff (575 B)

Event Timeline