Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156512880
D20633.id58628.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
913 B
Referenced Files
None
Subscribers
None
D20633.id58628.diff
View Options
Index: vm_map.c
===================================================================
--- vm_map.c
+++ vm_map.c
@@ -2192,7 +2192,18 @@
* entry BEFORE this one, so that this entry has the specified
* starting address.
*/
- vm_map_simplify_entry(map, entry);
+ if ((entry->eflags & MAP_ENTRY_NOMERGE_MASK) == 0 &&
+ (vm_map_mergeable_neighbors(entry->prev, entry) ||
+ vm_map_mergeable_neighbors(entry, entry->next))) {
+ printf("%s: simplifying entry start %jx end %jx next_read %jx "
+ "max_free %jx eflags %jx object-type %d\n", __func__,
+ (uintmax_t)entry->start, (uintmax_t)entry->end,
+ (uintmax_t)entry->next_read, (uintmax_t)entry->max_free,
+ (uintmax_t)entry->eflags,
+ entry->object ? entry->object->type : -1);
+ vm_map_simplify_entry(map, entry);
+ }
+
vm_map_entry_charge_object(map, entry);
new_entry = vm_map_entry_create(map);
*new_entry = *entry;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 15, 7:26 AM (4 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33076467
Default Alt Text
D20633.id58628.diff (913 B)
Attached To
Mode
D20633: Does clip_start require entry simplification?
Attached
Detach File
Event Timeline
Log In to Comment