summaryrefslogtreecommitdiff
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-26 16:29:35 +0200
commitc860f2da149804ea1fee66617e64021596d56a52 (patch)
tree83923fae4a6a9675ce0d9df46e6821506716ef3b
parenta7d8cc12cbf8567a178dab5da5f1a5164a02069a (diff)
remove calls to vm_page_init, they are actually hurting here
-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 c71ce0d..8640412 100644
--- a/vm/vm_resident.c
+++ b/vm/vm_resident.c
@@ -785,18 +785,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);
}
}