We can have no PV entry here if the previous mapping was unmanaged, and the new
one is unmanaged too, so update the KASSERT to reflect this.
This commit is contained in:
parent
c949309983
commit
5b3e7496e6
@ -3448,7 +3448,8 @@ do_l2b_alloc:
|
||||
else if (!pve &&
|
||||
!(m->flags & (PG_UNMANAGED | PG_FICTITIOUS)))
|
||||
pve = pmap_get_pv_entry();
|
||||
KASSERT(pve != NULL, ("No pv"));
|
||||
KASSERT(pve != NULL || m->flags & (PG_UNMANAGED |
|
||||
PG_FICTITIOUS), ("No pv"));
|
||||
oflags = pve->pv_flags;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user