Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162636416
D56140.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
801 B
Referenced Files
None
Subscribers
None
D56140.diff
View Options
diff --git a/sys/vm/vm_swapout.c b/sys/vm/vm_swapout.c
--- a/sys/vm/vm_swapout.c
+++ b/sys/vm/vm_swapout.c
@@ -222,13 +222,11 @@
{
vm_map_entry_t tmpe;
vm_object_t obj, bigobj;
- int nothingwired;
if (!vm_map_trylock_read(map))
return;
bigobj = NULL;
- nothingwired = TRUE;
/*
* first, search out the biggest object, and try to free pages from
@@ -249,8 +247,6 @@
VM_OBJECT_RUNLOCK(obj);
}
}
- if (tmpe->wired_count > 0)
- nothingwired = FALSE;
}
if (bigobj != NULL) {
@@ -275,15 +271,6 @@
}
}
- /*
- * Remove all mappings if a process is swapped out, this will free page
- * table pages.
- */
- if (desired == 0 && nothingwired) {
- pmap_remove(vm_map_pmap(map), vm_map_min(map),
- vm_map_max(map));
- }
-
vm_map_unlock_read(map);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 7:15 AM (13 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35128942
Default Alt Text
D56140.diff (801 B)
Attached To
Mode
D56140: vm_swapout: Remove a special case from vm_swapout_map_deactivate_pages()
Attached
Detach File
Event Timeline
Log In to Comment