Page MenuHomeFreeBSD

pmap_demote_{l2,pde}: never invalidate wired mappings
ClosedPublic

Authored by alc on Jul 20 2025, 12:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 12:33 AM
Unknown Object (File)
Sun, Oct 12, 12:33 AM
Unknown Object (File)
Sun, Oct 12, 12:33 AM
Unknown Object (File)
Sat, Oct 11, 3:01 PM
Unknown Object (File)
Wed, Oct 8, 7:50 AM
Unknown Object (File)
Mon, Oct 6, 11:14 PM
Unknown Object (File)
Thu, Oct 2, 1:20 AM
Unknown Object (File)
Tue, Sep 30, 10:39 PM
Subscribers

Details

Summary

Rather than demoting a superpage mapping that hasn't been accessed, we ordinarily invalidate it. However, if the mapping is wired, invalidation is problematic because the page fault to reinstantiate the mapping could sleep.

Diff Detail

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

Event Timeline

alc requested review of this revision.Jul 20 2025, 12:37 AM
This revision is now accepted and ready to land.Jul 20 2025, 1:02 AM

I believe this makes D49442 unnecessary, at least as far as fixing the bug is concerned.

I believe this makes D49442 unnecessary, at least as far as fixing the bug is concerned.

Yes.