1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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

No functional change intended.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2017-05-18 18:37:19 +00:00
parent 02fb845bbf
commit ed67acb779
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318479

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);
}