diff options
author | Abhishek Goel <huntbag@linux.vnet.ibm.com> | 2017-11-15 14:10:02 +0530 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-11-15 08:37:42 -0700 |
commit | dbdc468f35ee827cab2753caa1c660bdb832243a (patch) | |
tree | 009fbaa59b5cde86d28b3fefa9d370dc2ef5e7b4 /mm/vmstat.c | |
parent | 53d1cd6b125fb9d69303516a1179ebc3b72f797a (diff) | |
download | talos-obmc-linux-dbdc468f35ee827cab2753caa1c660bdb832243a.tar.gz talos-obmc-linux-dbdc468f35ee827cab2753caa1c660bdb832243a.zip |
cpupower : Fix cpupower working when cpu0 is offline
cpuidle_monitor used to assume that cpu0 is always online which is not
a valid assumption on POWER machines. This patch fixes this by getting
the cpu on which the current thread is running, instead of always using
cpu0 for monitoring which may not be online.
Signed-off-by: Abhishek Goel <huntbag@linux.vnet.ibm.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions