HomeFreeBSD

Add a tunable "debug.hwpstate_verify" to check P-state after changing it and

Description

Add a tunable "debug.hwpstate_verify" to check P-state after changing it and
turn it off by default. It is very inefficient to verify current P-state of
each core, especially for CPUs with many cores. When multiple commands are
requested to the same power domain before completion of pending transitions,
the last command is executed according to the manual. Because requests are
serialized by the caller, all cores will receive the same command for each
call. Do not call sched_bind() and sched_unbind(). It is redundant because
the caller does it anyway.

Details

Provenance
jkimAuthored on
Parents
rS326382: MFC r326135: bfd: fix segfault in the ihex parser on malformed ihex file
Branches
Unknown
Tags
Unknown