Date: Thu, 18 May 2017 18:37:19 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r318479 - head/sys/dev/drm2/ttm Message-ID: <201705181837.v4IIbJPt067173@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705181837.v4IIbJPt067173>