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)
Fri, Apr 5, 4:35 PM
Unknown Object (File)
Sat, Mar 30, 7:34 AM
Unknown Object (File)
Sat, Mar 23, 2:10 PM
Unknown Object (File)
Jan 14 2024, 6:11 PM
Unknown Object (File)
Dec 20 2023, 4:05 AM
Unknown Object (File)
Dec 17 2023, 8:14 AM
Unknown Object (File)
Dec 16 2023, 4:26 PM
Unknown Object (File)
Dec 12 2023, 5:31 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.