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)
Sat, Feb 21, 3:28 PM
Unknown Object (File)
Thu, Feb 19, 1:15 AM
Unknown Object (File)
Sun, Feb 8, 1:42 PM
Unknown Object (File)
Sat, Feb 7, 5:45 PM
Unknown Object (File)
Jan 31 2026, 1:09 PM
Unknown Object (File)
Jan 25 2026, 8:36 PM
Unknown Object (File)
Jan 24 2026, 6:28 AM
Unknown Object (File)
Jan 4 2026, 12:27 AM
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 Not Applicable
Unit
Tests Not Applicable