Page MenuHomeFreeBSD

Tweaks for pmap_qremove() and transient mappings
ClosedPublic

Authored by kib on Nov 23 2024, 9:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 26, 2:32 PM
Unknown Object (File)
Sun, Jan 25, 8:52 PM
Unknown Object (File)
Sun, Jan 25, 7:05 AM
Unknown Object (File)
Dec 27 2025, 3:17 AM
Unknown Object (File)
Dec 26 2025, 6:37 PM
Unknown Object (File)
Dec 26 2025, 6:15 PM
Unknown Object (File)
Dec 14 2025, 8:54 PM
Unknown Object (File)
Dec 10 2025, 9:41 PM
Subscribers

Details

Summary
amd64: switch pmap_map_io_transient() to use pmap_kenter_attr()

instead of constructing transient pte itself.  This pre-set PG_A and
PG_M bits, avoiding atomic pte update on access and modification.  Also
it set the nx bit, the mapping is not supposed to be used for executing.

amd64 pmap: assert and explain why pmap_qremove() is safe WRT supermappings

Based on alc@ comments from https://reviews.freebsd.org/D47678.

Diff Detail

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