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, Mar 6, 6:33 PM
Unknown Object (File)
Fri, Mar 6, 5:46 AM
Unknown Object (File)
Thu, Mar 5, 4:06 AM
Unknown Object (File)
Fri, Feb 27, 6:16 PM
Unknown Object (File)
Tue, Feb 24, 6:08 AM
Unknown Object (File)
Feb 8 2026, 3:02 PM
Unknown Object (File)
Feb 8 2026, 10:36 AM
Unknown Object (File)
Jan 31 2026, 1:30 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