summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r--sys/vm/vm_kern.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c
index c076492..7bdcd72 100644
--- a/sys/vm/vm_kern.c
+++ b/sys/vm/vm_kern.c
@@ -206,6 +206,7 @@ kmem_alloc(map, size)
pmap_zero_page(mem);
mem->valid = VM_PAGE_BITS_ALL;
vm_page_lock_queues();
+ vm_page_unmanage(mem);
vm_page_wakeup(mem);
vm_page_unlock_queues();
}
OpenPOWER on IntegriCloud