Page MenuHomeFreeBSD

armv6/legacy: optimize cpy_getcount performance
ClosedPublic

Authored by wma on Jan 2 2022, 8:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 1:25 PM
Unknown Object (File)
Oct 23 2024, 11:27 PM
Unknown Object (File)
Oct 23 2024, 11:27 PM
Unknown Object (File)
Oct 23 2024, 11:27 PM
Unknown Object (File)
Oct 23 2024, 11:07 PM
Unknown Object (File)
Oct 5 2024, 2:07 AM
Unknown Object (File)
Oct 3 2024, 1:25 PM
Unknown Object (File)
Oct 3 2024, 1:19 PM
Subscribers

Details

Summary

Use nanotime instread of binuptime.
This change is for old and legacy platforms and does not impact any armv7 and later.
Might be MFCed to 13.0 once armv6 support is finally dropped in 14.0

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wma requested review of this revision.Jan 2 2022, 8:56 AM
wma created this revision.
This revision is now accepted and ready to land.Jan 10 2022, 12:11 PM

Is this code path used? The only armv6 CPU se support is the bcm2835 which is an arm1176 so should be handled by reading the appropriate register.

It's not used on any official FreeBSD platform. However, with some out-of-tree BSPs this portion of code becomes active.

This revision was automatically updated to reflect the committed changes.