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, Apr 13, 4:07 AM
Unknown Object (File)
Mar 28 2025, 1:10 PM
Unknown Object (File)
Mar 10 2025, 7:38 AM
Unknown Object (File)
Feb 22 2025, 2:27 PM
Unknown Object (File)
Feb 22 2025, 1:37 PM
Unknown Object (File)
Feb 14 2025, 9:22 PM
Unknown Object (File)
Feb 14 2025, 12:35 AM
Unknown Object (File)
Feb 13 2025, 9:23 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 Not Applicable
Unit
Tests Not Applicable