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:
parent
02fb845bbf
commit
ed67acb779
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318479
@ -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