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)
Mon, Nov 24, 11:54 AM
Unknown Object (File)
Sun, Nov 23, 6:06 AM
Unknown Object (File)
Sat, Nov 22, 4:09 AM
Unknown Object (File)
Mon, Nov 17, 1:25 PM
Unknown Object (File)
Sun, Nov 9, 11:33 PM
Unknown Object (File)
Sun, Nov 9, 2:36 AM
Unknown Object (File)
Wed, Nov 5, 12:36 AM
Unknown Object (File)
Oct 29 2025, 9:43 AM
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.