]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: stop migrating, unless '-m'
authorLen Brown <len.brown@intel.com>
Sun, 28 May 2017 04:18:12 +0000 (21:18 -0700)
committerLen Brown <len.brown@intel.com>
Sun, 25 Jun 2017 03:03:19 +0000 (20:03 -0700)
commita318051544950288ae178bcc9c4bdacdf8730ac8
treea0d623cbceeb6cc3eb0415d39994530985000d18
parent7153597940a0bc03070c4896906921c73f45b710
tools/power turbostat: stop migrating, unless '-m'

Turbostat has the capability to set its own affinity to
each CPU so that its MSR accesses are on the local CPU.

However, using the in-kernel cross-call in  the msr driver
tends to be less invasive, so do that -- by-default.
'-m' remains to get the old behaviour.

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c