Don't bother enqueuing a page immediately before freeing it.

No functional change intended.

MFC after:	1 week
This commit is contained in:
markj 2017-05-18 18:37:19 +00:00
parent 91faea9058
commit ff85e189b3

View File

@ -136,7 +136,7 @@ ttm_vm_page_free(vm_page_t m)
KASSERT((m->oflags & VPO_UNMANAGED) == 0, ("ttm got unmanaged %p", m));
m->flags &= ~PG_FICTITIOUS;
m->oflags |= VPO_UNMANAGED;
vm_page_unwire(m, PQ_INACTIVE);
vm_page_unwire(m, PQ_NONE);
vm_page_free(m);
}