Page MenuHomeFreeBSD

arm64: Simplify and improve KASAN shadow map bootstrapping
ClosedPublic

Authored by markj on Jan 11 2024, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 3, 8:45 PM
Unknown Object (File)
Tue, Mar 3, 2:30 PM
Unknown Object (File)
Fri, Feb 27, 7:02 AM
Unknown Object (File)
Feb 8 2026, 12:46 AM
Unknown Object (File)
Feb 7 2026, 9:23 PM
Unknown Object (File)
Jan 31 2026, 10:15 AM
Unknown Object (File)
Jan 4 2026, 8:26 AM
Unknown Object (File)
Dec 31 2025, 10:33 AM
Subscribers

Details

Summary
  • Move pmap_bootstrap_allocate_kasan_l2() close to the place where it is actually used.
  • Simplify pmap_bootstrap_allocate_kasan_l2() a bit: eliminate some unneeded variables and zero and exclude each 2MB mapping as we go rather than doing that all at once. Excluded regions will be coalesced.
  • As a consequence of the previous point, ensure that we do not zero a preexisting 2MB mapping.
  • Simplify pmap_bootstrap_san() and prepare it to work with KMSAN.

Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.

Diff Detail

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