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