Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2019 18:57:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyNDI5NjFdIENyYXNoZXMgKGVsZjY0X2NvcmVkdW1wIA==?= =?UTF-8?B?4oCmIHZtX29iamVjdF9zZXRfd3JpdGVhYmxlX2RpcnR5KSBhZnRlciB0aGUg?= =?UTF-8?B?cmVjZW50IHZtIHBhdGNoIHNlcmllcw==?=
Message-ID:  <bug-242961-227-qO9PfrUEuZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242961-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242961-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242961

--- Comment #8 from Mark Johnston <markj@FreeBSD.org> ---
I found a bug by causing some of my desktop applications to dump core.  I
suspect this is what you are hitting.  TTM uses the plinks.q fields for its=
 own
purpose, but we were inadvertently putting TTM-managed pages on the global =
page
queues.

diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index e99732028af5..971d8a0ed236 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -4013,7 +4013,7 @@ vm_page_mvqueue(vm_page_t m, const uint8_t nqueue, co=
nst
uint16_t nflag)
        KASSERT(nflag =3D=3D PGA_REQUEUE || nflag =3D=3D PGA_REQUEUE_HEAD,
            ("%s: invalid flags %x", __func__, nflag));

-       if ((m->oflags & VPO_UNMANAGED) !=3D 0)
+       if ((m->oflags & VPO_UNMANAGED) !=3D 0 || (m->flags & PG_FICTITIOUS=
) !=3D
0)
                return;

        old =3D vm_page_astate_load(m);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242961-227-qO9PfrUEuZ>