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)
Mon, Jun 22, 6:43 PM
Unknown Object (File)
Thu, Jun 11, 8:38 PM
Unknown Object (File)
May 20 2026, 1:39 AM
Unknown Object (File)
May 19 2026, 10:34 AM
Unknown Object (File)
May 19 2026, 9:42 AM
Unknown Object (File)
May 17 2026, 1:39 AM
Unknown Object (File)
May 17 2026, 1:39 AM
Unknown Object (File)
May 17 2026, 1:39 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