Page MenuHomeFreeBSD

cpufreq(4) hwpstate: Yield CPU awaiting frequency change
ClosedPublic

Authored by cem on Sep 6 2017, 8:01 PM.

Details

Summary

It doesn't seem necessary to busy the CPU while waiting to transition
into a different p-state.

Test Plan

Transitions continue to work (well, P0 and P2), just like before.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Builds fine and doesn't appear to break anything on my Ryzen machine.

This revision is now accepted and ready to land.Sep 7 2017, 5:57 PM
This revision was automatically updated to reflect the committed changes.