Page MenuHomeFreeBSD

arm64: Add pmap integration for KMSAN
ClosedPublic

Authored by markj on Jan 11 2024, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 30, 2:43 PM
Unknown Object (File)
Nov 6 2025, 2:14 AM
Unknown Object (File)
Oct 27 2025, 7:43 AM
Unknown Object (File)
Oct 23 2025, 7:23 AM
Unknown Object (File)
Oct 22 2025, 11:09 PM
Unknown Object (File)
Oct 22 2025, 11:09 PM
Unknown Object (File)
Oct 22 2025, 2:31 PM
Unknown Object (File)
Oct 17 2025, 8:45 PM
Subscribers

Details

Summary
  • In pmap_bootstrap_san(), allocate the root PTPs for the shadow maps. (For KASAN, this is done earlier since we need to do some special bootstrapping for the kernel stack.)
  • Adjust ifdefs to include KMSAN.
  • Expand the shadow maps when pmap_growkernel() is called.

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 55376
Build 52265: arc lint + arc unit