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)
Fri, Oct 10, 4:23 AM
Unknown Object (File)
Sat, Oct 4, 3:59 PM
Unknown Object (File)
Sep 12 2025, 11:56 PM
Unknown Object (File)
Sep 7 2025, 11:29 AM
Unknown Object (File)
Sep 4 2025, 9:18 AM
Unknown Object (File)
Aug 23 2025, 8:43 AM
Unknown Object (File)
Aug 15 2025, 12:19 AM
Unknown Object (File)
Aug 10 2025, 2:45 AM
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 Not Applicable
Unit
Tests Not Applicable