Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2018 15:16:57 +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: r331550 - stable/11/sys/vm
Message-ID:  <201803261516.w2QFGvgT057120@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Mon Mar 26 15:16:57 2018
New Revision: 331550
URL: https://svnweb.freebsd.org/changeset/base/331550

Log:
  MFC r331425:
  Correct a couple of assertion messages in vm_page_reclaim_run().

Modified:
  stable/11/sys/vm/vm_page.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/vm/vm_page.c
==============================================================================
--- stable/11/sys/vm/vm_page.c	Mon Mar 26 14:13:42 2018	(r331549)
+++ stable/11/sys/vm/vm_page.c	Mon Mar 26 15:16:57 2018	(r331550)
@@ -2371,7 +2371,7 @@ retry:
 						goto unlock;
 					}
 					KASSERT(m_new->wire_count == 0,
-					    ("page %p is wired", m));
+					    ("page %p is wired", m_new));
 
 					/*
 					 * Replace "m" with the new page.  For
@@ -2383,7 +2383,7 @@ retry:
 						pmap_remove_all(m);
 					m_new->aflags = m->aflags;
 					KASSERT(m_new->oflags == VPO_UNMANAGED,
-					    ("page %p is managed", m));
+					    ("page %p is managed", m_new));
 					m_new->oflags = m->oflags & VPO_NOSYNC;
 					pmap_copy_page(m, m_new);
 					m_new->valid = m->valid;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803261516.w2QFGvgT057120>