Page MenuHomeFreeBSD

arm64: Use store-pair to zero the kernel bss
ClosedPublic

Authored by andrew on Nov 23 2023, 2:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 14, 1:30 AM
Unknown Object (File)
Tue, Dec 2, 1:06 AM
Unknown Object (File)
Nov 15 2025, 4:17 PM
Unknown Object (File)
Nov 12 2025, 5:34 AM
Unknown Object (File)
Nov 4 2025, 9:02 PM
Unknown Object (File)
Nov 4 2025, 9:01 PM
Unknown Object (File)
Nov 4 2025, 8:59 PM
Unknown Object (File)
Nov 4 2025, 8:59 PM
Subscribers

Details

Summary

While this won't be noticed by most users the time to zero the bss
while using instruction tracing in the Arm FVP models (simulators) is
noticeable.

Reduce this time by using a store-pair instruction to double the size
of memory we zero on each iteration of the loop.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54589
Build 51478: arc lint + arc unit