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)
Thu, May 29, 1:56 AM
Unknown Object (File)
Tue, May 27, 11:18 PM
Unknown Object (File)
Mon, May 26, 12:55 PM
Unknown Object (File)
Sun, May 25, 10:39 PM
Unknown Object (File)
Wed, May 14, 12:09 AM
Unknown Object (File)
Tue, May 13, 11:53 PM
Unknown Object (File)
Apr 26 2025, 3:18 PM
Unknown Object (File)
Apr 26 2025, 2:15 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