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
F151536587: D42733.id.diff
Thu, Apr 9, 2:01 AM
Unknown Object (File)
Sun, Mar 15, 5:27 AM
Unknown Object (File)
Sat, Mar 14, 1:59 AM
Unknown Object (File)
Mar 8 2026, 7:07 PM
Unknown Object (File)
Mar 6 2026, 12:52 AM
Unknown Object (File)
Mar 1 2026, 10:05 PM
Unknown Object (File)
Jan 15 2026, 9:50 PM
Unknown Object (File)
Jan 8 2026, 2:44 AM
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