Page MenuHomeFreeBSD

amd64 pmap: convert some panics to KASSERTs
ClosedPublic

Authored by alc on Jul 6 2025, 5:53 PM.
Tags
None
Referenced Files
F132015734: D51180.id158055.diff
Sun, Oct 12, 11:31 PM
F132015733: D51180.id158076.diff
Sun, Oct 12, 11:31 PM
F132015732: D51180.id.diff
Sun, Oct 12, 11:31 PM
F131956086: D51180.diff
Sun, Oct 12, 12:05 PM
Unknown Object (File)
Wed, Oct 8, 1:56 PM
Unknown Object (File)
Wed, Sep 24, 9:58 AM
Unknown Object (File)
Wed, Sep 17, 8:14 AM
Unknown Object (File)
Aug 25 2025, 1:09 PM
Subscribers

Details

Summary

With the recent changes to pmap_demote_DMAP(), the calls to pmap_demote_pdpe() and pmap_demote_pde_mpte() should never fail.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

alc requested review of this revision.Jul 6 2025, 5:53 PM
alc created this revision.
This revision is now accepted and ready to land.Jul 6 2025, 5:58 PM

Should the pmap_demote_pde() in pmap_unwire() get the same treatment? As I understand, wire should saved the pt page in radix.

In D51180#1168328, @kib wrote:

Should the pmap_demote_pde() in pmap_unwire() get the same treatment? As I understand, wire should saved the pt page in radix.

I think that should be preceded by the changes under discussion in D49442.

This revision was automatically updated to reflect the committed changes.