svn commit: r318479 - head/sys/dev/drm2/ttm
Mark Johnston
markj at FreeBSD.org
Thu May 18 18:37:21 UTC 2017
Author: markj
Date: Thu May 18 18:37:19 2017
New Revision: 318479
URL: https://svnweb.freebsd.org/changeset/base/318479
Log:
Don't bother enqueuing a page immediately before freeing it.
No functional change intended.
MFC after: 1 week
Modified:
head/sys/dev/drm2/ttm/ttm_page_alloc.c
Modified: head/sys/dev/drm2/ttm/ttm_page_alloc.c
==============================================================================
--- head/sys/dev/drm2/ttm/ttm_page_alloc.c Thu May 18 18:35:14 2017 (r318478)
+++ head/sys/dev/drm2/ttm/ttm_page_alloc.c Thu May 18 18:37:19 2017 (r318479)
@@ -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);
}
More information about the svn-src-head
mailing list