Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140142006
D21668.id62141.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
958 B
Referenced Files
None
Subscribers
None
D21668.id62141.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D21668: remove dead code from vm_map_entry_unlink
Attached
Detach File
Event Timeline
Log In to Comment