summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorPreeti U Murthy <preeti@linux.vnet.ibm.com>2014-01-13 12:04:51 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-01-15 13:58:56 +1100
commitc0c4301c54adde05fa3652777f550e4570b87399 (patch)
tree58040b49d1484795001e92e1f3d31a1dc4c3f4b6 /fs
parent4f7709248db7402507a2a5164f86ad4c75a1926b (diff)
downloadblackbird-op-linux-c0c4301c54adde05fa3652777f550e4570b87399.tar.gz
blackbird-op-linux-c0c4301c54adde05fa3652777f550e4570b87399.zip
pseries/cpuidle: Remove redundant call to ppc64_runlatch_off() in cpu idle routines
Commit fbd7740fdfdf9475f(powerpc: Simplify pSeries idle loop) switched pseries cpu idle handling from complete idle loops to ppc_md.powersave functions. Earlier to this switch, ppc64_runlatch_off() had to be called in each of the idle routines. But after the switch, this call is handled in arch_cpu_idle(),just before the call to ppc_md.powersave, where platform specific idle routines are called. As a consequence, the call to ppc64_runlatch_off() got duplicated in the arch_cpu_idle() routine as well as in the some of the idle routines in pseries and commit fbd7740fdfdf9475f missed to get rid of these redundant calls. These calls were carried over subsequent enhancements to the pseries cpuidle routines. Although multiple calls to ppc64_runlatch_off() is harmless, there is still some overhead due to it. Besides that, these calls could also make way for a misunderstanding that it is *necessary* to call ppc64_runlatch_off() multiple times, when that is not the case. Hence this patch takes care of eliminating this redundancy. Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud