Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102760901
D16501.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
530 B
Referenced Files
None
Subscribers
None
D16501.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D16501: Enable vm object coalescing when OBJ_ONEMAPPING is set
Attached
Detach File
Event Timeline
Log In to Comment