diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index d13c0ce389fd..5fa1f80671cd 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -1748,6 +1748,7 @@ vm_page_alloc(vm_object_t object, vm_pindex_t pindex, int req) } m->object = NULL; m->oflags = VPO_UNMANAGED; + m->busy_lock = VPB_UNBUSIED; vm_page_free(m); return (NULL); } @@ -1949,6 +1950,7 @@ vm_page_alloc_contig(vm_object_t object, vm_pindex_t pindex, int req, m->object = NULL; m->oflags |= VPO_UNMANAGED; } + m->busy_lock = VPB_UNBUSIED; vm_page_free(m); } return (NULL);