Page MenuHomeFreeBSD

arm64: Remove pmap_san_bootstrap() and call kasan_init_early() directly
ClosedPublic

Authored by markj on Jan 11 2024, 8:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 9:59 AM
Unknown Object (File)
Sun, Mar 8, 3:12 AM
Unknown Object (File)
Sat, Mar 7, 8:52 PM
Unknown Object (File)
Feb 21 2026, 3:28 PM
Unknown Object (File)
Feb 19 2026, 1:15 AM
Unknown Object (File)
Feb 8 2026, 1:42 PM
Unknown Object (File)
Feb 7 2026, 5:45 PM
Unknown Object (File)
Jan 31 2026, 1:09 PM
Subscribers

Details

Summary

pmap_san_bootstrap() doesn't really do much, and it was hard-coding the
the bootstrap stack size defined in locore.S. Moreover, the name is a
bit confusing given the existence of pmap_bootstrap_san(). Just remove
it and call kasan_init_early() directly like we do on amd64.

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 55374
Build 52263: arc lint + arc unit