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)
Tue, Oct 14, 8:36 PM
Unknown Object (File)
Mon, Oct 13, 12:34 PM
Unknown Object (File)
Mon, Oct 13, 12:34 PM
Unknown Object (File)
Mon, Oct 13, 12:34 PM
Unknown Object (File)
Sun, Oct 12, 11:58 PM
Unknown Object (File)
Mon, Oct 6, 3:44 AM
Unknown Object (File)
Sun, Sep 28, 3:33 PM
Unknown Object (File)
Sun, Sep 28, 12:20 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