summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/vm/vm_page.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index bc62a8b..ba9e37d 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -1131,14 +1131,6 @@ vm_page_free_toq(vm_page_t m)
}
panic("vm_page_free: freeing wired page");
}
-
- /*
- * Clear the UNMANAGED flag when freeing an unmanaged page.
- */
- if (m->flags & PG_UNMANAGED) {
- m->flags &= ~PG_UNMANAGED;
- }
-
if (m->hold_count != 0) {
m->flags &= ~PG_ZERO;
VM_PAGE_SETQUEUE2(m, PQ_HOLD);
OpenPOWER on IntegriCloud