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)
Mon, Apr 6, 9:54 PM
Unknown Object (File)
Sun, Apr 5, 6:17 AM
Unknown Object (File)
Fri, Mar 27, 7:00 AM
Unknown Object (File)
Wed, Mar 25, 11:48 AM
Unknown Object (File)
Tue, Mar 24, 5:27 PM
Unknown Object (File)
Mar 6 2026, 6:33 PM
Unknown Object (File)
Mar 6 2026, 5:46 AM
Unknown Object (File)
Mar 5 2026, 4:06 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