Page MenuHomeFreeBSD

D21668.id62141.diff
No OneTemporary

D21668.id62141.diff

Index: sys/vm/vm_map.c
===================================================================
--- sys/vm/vm_map.c
+++ sys/vm/vm_map.c
@@ -1250,7 +1250,6 @@
}
enum unlink_merge_type {
- UNLINK_MERGE_PREV,
UNLINK_MERGE_NONE,
UNLINK_MERGE_NEXT
};
@@ -1266,17 +1265,9 @@
KASSERT(root != NULL,
("vm_map_entry_unlink: unlink object not mapped"));
+ vm_map_splay_findnext(root, &rlist);
switch (op) {
- case UNLINK_MERGE_PREV:
- vm_map_splay_findprev(root, &llist);
- llist->end = root->end;
- y = root->right;
- root = llist;
- llist = root->right;
- root->right = y;
- break;
case UNLINK_MERGE_NEXT:
- vm_map_splay_findnext(root, &rlist);
rlist->start = root->start;
rlist->offset = root->offset;
y = root->left;
@@ -1286,7 +1277,6 @@
break;
case UNLINK_MERGE_NONE:
vm_map_splay_findprev(root, &llist);
- vm_map_splay_findnext(root, &rlist);
if (llist != &map->header) {
root = llist;
llist = root->right;

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 21, 7:04 PM (1 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27119597
Default Alt Text
D21668.id62141.diff (958 B)

Event Timeline