summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-12 18:24:52 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-15 13:08:49 +0200
commita9462a58ab1cbc0812715038539fbd96a8c0e2fe (patch)
treed207bd885381b6f8f0f275a425c5129545adaaa3 /vm
parentb7e24c71c4ac5fd686e0860c853abc85a4513199 (diff)
remove calls to vm_page_init, they are actually hurting here
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_resident.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/vm/vm_resident.c b/vm/vm_resident.c
index dc4388d..552b0d7 100644
--- a/vm/vm_resident.c
+++ b/vm/vm_resident.c
@@ -772,18 +772,10 @@ void vm_page_free(
if (mem->absent)
vm_object_absent_release(mem->object);
- /*
- * XXX The calls to vm_page_init here are
- * really overkill.
- */
-
if (mem->private || mem->fictitious) {
- vm_page_init(mem, vm_page_fictitious_addr);
- mem->fictitious = TRUE;
vm_page_release_fictitious(mem);
} else {
int external = mem->external && mem->extcounted;
- vm_page_init(mem, mem->phys_addr);
vm_page_release(mem, external);
}
}