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, Nov 3, 4:33 PM
Unknown Object (File)
Sat, Nov 2, 5:50 PM
Unknown Object (File)
Sat, Nov 2, 5:49 PM
Unknown Object (File)
Sat, Nov 2, 4:33 AM
Unknown Object (File)
Fri, Nov 1, 3:21 AM
Unknown Object (File)
Sep 24 2024, 12:34 PM
Unknown Object (File)
Sep 21 2024, 5:24 PM
Unknown Object (File)
Sep 17 2024, 3:08 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 Not Applicable
Unit
Tests Not Applicable