From d822789ca80ec686a5cc6198d05e617e4f4651ab Mon Sep 17 00:00:00 2001 From: markj Date: Fri, 23 Mar 2018 14:38:56 +0000 Subject: [PATCH] Correct a couple of assertion messages in vm_page_reclaim_run(). MFC after: 3 days --- sys/vm/vm_page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 56af64a8ead9..864cfb6a91e9 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -2473,7 +2473,7 @@ vm_page_reclaim_run(int req_class, int domain, u_long npages, vm_page_t m_run, 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 @@ vm_page_reclaim_run(int req_class, int domain, u_long npages, vm_page_t m_run, 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;