diff options
author | Len Brown <len.brown@intel.com> | 2012-11-09 04:38:05 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-11-27 06:03:06 +0100 |
commit | e52966c084f9d9ea12be2ac7df801d610d4a19a5 (patch) | |
tree | 4ea59e63067349ce8671cdcf7fe06a62c0b1933b /drivers/pinctrl/pinctrl-pxa3xx.c | |
parent | x86 power: define RAPL MSRs (diff) | |
download | linux-e52966c084f9d9ea12be2ac7df801d610d4a19a5.tar.xz linux-e52966c084f9d9ea12be2ac7df801d610d4a19a5.zip |
tools/power turbostat: prevent infinite loop on migration error path
Turbostat assumed if it can't migrate to a CPU, then the CPU
must have gone off-line and turbostat should re-initialize
with the new topology.
But if turbostat can not migrate because it is restricted by
a cpuset, then it will fail to migrate even after re-initialization,
resulting in an infinite loop.
Spit out a warning when we can't migrate
and endure only 2 re-initialize cycles in a row
before giving up and exiting.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pinctrl/pinctrl-pxa3xx.c')
0 files changed, 0 insertions, 0 deletions