Page MenuHomeFreeBSD

Add an assertion to pmap_enter().
ClosedPublic

Authored by markj on Oct 20 2018, 8:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 1 2024, 8:03 AM
Unknown Object (File)
Sep 25 2024, 10:07 PM
Unknown Object (File)
Sep 19 2024, 5:15 PM
Unknown Object (File)
Sep 9 2024, 2:27 AM
Unknown Object (File)
Sep 7 2024, 11:05 PM
Unknown Object (File)
Sep 6 2024, 1:18 AM
Unknown Object (File)
Aug 31 2024, 11:38 PM
Unknown Object (File)
Aug 22 2024, 12:23 AM
Subscribers

Details

Summary

When faulting on an existing mapping, if the mapping is managed, it
should have a PV entry. Verify this.

I found this useful while debugging some modifications.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20308
Build 19766: arc lint + arc unit

Event Timeline

sys/amd64/amd64/pmap.c
5063

Based on line 5047, (origpte & PG_MANAGED) == 0 can never be true.

markj marked 2 inline comments as done.
  • Address Alan's comment.
sys/amd64/amd64/pmap.c
5063

Thanks, I originally had this assertion further down.

This revision is now accepted and ready to land.Oct 20 2018, 8:25 PM
This revision was automatically updated to reflect the committed changes.