svn commit: r331550 - stable/11/sys/vm

Mark Johnston markj at FreeBSD.org
Mon Mar 26 15:16:58 UTC 2018


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;


More information about the svn-src-all mailing list