Don't bother enqueuing a page immediately before freeing it.
No functional change intended. MFC after: 1 week
This commit is contained in:
parent
91faea9058
commit
ff85e189b3
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user