summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}