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)
Wed, Oct 2, 1:56 AM
Unknown Object (File)
Mon, Sep 30, 9:43 PM
Unknown Object (File)
Mon, Sep 30, 4:21 PM
Unknown Object (File)
Mon, Sep 30, 1:01 PM
Unknown Object (File)
Thu, Sep 26, 8:40 AM
Unknown Object (File)
Wed, Sep 4, 5:34 AM
Unknown Object (File)
Aug 27 2024, 11:36 AM
Unknown Object (File)
Aug 15 2024, 3: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.