Page MenuHomeFreeBSD

powerd: Don't restore original frequency in rc script; powerd does that itself
ClosedPublic

Authored by gallatin on May 22 2023, 12:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 6, 9:51 PM
Unknown Object (File)
Sat, Apr 6, 6:55 AM
Unknown Object (File)
Mar 15 2024, 6:05 AM
Unknown Object (File)
Mar 15 2024, 6:05 AM
Unknown Object (File)
Mar 11 2024, 11:20 AM
Unknown Object (File)
Mar 8 2024, 12:29 AM
Unknown Object (File)
Feb 19 2024, 2:27 PM
Unknown Object (File)
Feb 19 2024, 3:07 AM
Subscribers

Details

Summary

Revert "When stopping powerd, set the CPU frequency back to its maximum value"

This reverts commit 1dcb6ad173e57b489a859ea59ed6eaa733bdb5bc.

As of "8cb16fdbea6b Restore original frequency on exit.", powerd
restores the original frequency itself.

Further, if the original frequency is not the same as the
first frequency found in the frequency list, then the restoration
done by the powerd_poststop will restore the wrong frequency.
This can happen on Intel machines where Turbo is not enabled,
but the turbo frequency is first in the list of frequencies.
In this case, turbo will be enabled when the user did not want
it to be.

Diff Detail

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