svn commit: r318848 - stable/11/sys/dev/drm2/ttm
Mark Johnston
markj at FreeBSD.org
Thu May 25 01:17:08 UTC 2017
Author: markj
Date: Thu May 25 01:17:07 2017
New Revision: 318848
URL: https://svnweb.freebsd.org/changeset/base/318848
Log:
MFC r318479:
Don't bother enqueuing a page immediately before freeing it.
Modified:
stable/11/sys/dev/drm2/ttm/ttm_page_alloc.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/drm2/ttm/ttm_page_alloc.c
==============================================================================
--- stable/11/sys/dev/drm2/ttm/ttm_page_alloc.c Thu May 25 01:15:53 2017 (r318847)
+++ stable/11/sys/dev/drm2/ttm/ttm_page_alloc.c Thu May 25 01:17:07 2017 (r318848)
@@ -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-stable-11
mailing list