Page MenuHomeFreeBSD

D16501.diff
No OneTemporary

D16501.diff

Index: head/sys/vm/vm_object.c
===================================================================
--- head/sys/vm/vm_object.c
+++ head/sys/vm/vm_object.c
@@ -2142,8 +2142,9 @@
next_size >>= PAGE_SHIFT;
next_pindex = OFF_TO_IDX(prev_offset) + prev_size;
- if ((prev_object->ref_count > 1) &&
- (prev_object->size != next_pindex)) {
+ if (prev_object->ref_count > 1 &&
+ prev_object->size != next_pindex &&
+ (prev_object->flags & OBJ_ONEMAPPING) == 0) {
VM_OBJECT_WUNLOCK(prev_object);
return (FALSE);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 7:25 PM (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14683707
Default Alt Text
D16501.diff (530 B)

Event Timeline