mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Correct a couple of assertion messages in vm_page_reclaim_run().
MFC after: 3 days
This commit is contained in:
parent
8881681b24
commit
4046851367
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331425
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user