Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2018 14:38:56 +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: r331425 - head/sys/vm
Message-ID:  <201803231438.w2NEcuOv041423@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Fri Mar 23 14:38:56 2018
New Revision: 331425
URL: https://svnweb.freebsd.org/changeset/base/331425

Log:
  Correct a couple of assertion messages in vm_page_reclaim_run().
  
  MFC after:	3 days

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Fri Mar 23 14:36:24 2018	(r331424)
+++ head/sys/vm/vm_page.c	Fri Mar 23 14:38:56 2018	(r331425)
@@ -2473,7 +2473,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
@@ -2485,7 +2485,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?201803231438.w2NEcuOv041423>