HomeFreeBSD

riscv pmap: add some pv list assertions

Description

riscv pmap: add some pv list assertions

Ensure that we don't end up with a superpage in the vm_page_t's pv list.

This may help with debugging the panic reported in PR 250866, in which
l3 in pmap_remove_write() was found to be NULL. Adding a KASSERT to this
function will help narrow down the cause of this panic the next time it
occurs.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D28109

Details

Provenance
mhorneAuthored on Nov 4 2020, 5:51 PM
Reviewer
markj
Differential Revision
D28109: riscv pmap: add a demotion assertion
Parents
rG70ba77706dab: vfs: extend vfs:namei:lookup:return probe with nameidata
Branches
Unknown
Tags
Unknown