summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/support
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-08-30 04:45:32 +0000
committernjl <njl@FreeBSD.org>2005-08-30 04:45:32 +0000
commit63a52296e3b667625ff2e0d593422b3ea2d471c9 (patch)
treeca5b14a4ed5d6ffcf13571b5929f99ffa6643752 /lib/libpthread/support
parente5e2fe755b908fab9e311ee3a64985fce8f0c82a (diff)
downloadFreeBSD-src-63a52296e3b667625ff2e0d593422b3ea2d471c9.zip
FreeBSD-src-63a52296e3b667625ff2e0d593422b3ea2d471c9.tar.gz
Eliminate cpufreq levels for two cases that are less than optimal:
1. Walk the absolute list in reverse to prefer duplicated levels that have a lower absolute setting, i.e. 800 Mhz/50% is better than 1600 Mhz/25% even though both have the same actual frequency. This also removes the need to check for already-modified levels since by definition, those will be added later in the sorted list. 2. Compare the absolute settings for derived levels and don't use the new level if it's higher. For example, a level of 800 Mhz/75% is preferable to 1600 Mhz/25% even though the latter has a lower total frequency. This work is based on a patch from the submitter but reworked by myself. Submitted by: Tijl Coosemans (tijl/ulyssis.org)
Diffstat (limited to 'lib/libpthread/support')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud