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
F147838324: D42733.id130457.diff
Sat, Mar 14, 1:59 AM
Unknown Object (File)
Sun, Mar 8, 7:07 PM
Unknown Object (File)
Fri, Mar 6, 12:52 AM
Unknown Object (File)
Sun, Mar 1, 10:05 PM
Unknown Object (File)
Jan 15 2026, 9:50 PM
Unknown Object (File)
Jan 8 2026, 2:44 AM
Unknown Object (File)
Jan 6 2026, 7:38 AM
Unknown Object (File)
Dec 30 2025, 6:55 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