Page MenuHomeFreeBSD

arm64: Use store-pair to zero the kernel bss
Needs ReviewPublic

Authored by andrew on Nov 23 2023, 2:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 6, 6:50 AM
Unknown Object (File)
Fri, May 3, 11:28 PM
Unknown Object (File)
Thu, May 2, 3:12 PM
Unknown Object (File)
Wed, Apr 24, 10:29 PM
Unknown Object (File)
Apr 20 2024, 6:43 PM
Unknown Object (File)
Mar 4 2024, 11:09 PM
Unknown Object (File)
Mar 4 2024, 11:08 PM
Unknown Object (File)
Mar 4 2024, 10:52 PM
Subscribers

Details

Reviewers
manu
Group Reviewers
arm64
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