diff options
author | Gautham R. Shenoy <ego@linux.vnet.ibm.com> | 2020-04-07 11:47:41 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-04-30 05:35:26 +0300 |
commit | dc8afce5f45b099e3ea52a16b2f90e92f90f3af0 (patch) | |
tree | 3e9bd15efe196c5fe19ca12060b00d11f9e92539 /arch/powerpc/kernel | |
parent | c4019198cfa81224d32846915cd401e981f81b81 (diff) | |
download | linux-dc8afce5f45b099e3ea52a16b2f90e92f90f3af0.tar.xz |
powerpc/pseries: Account for SPURR ticks on idle CPUs
On Pseries LPARs, to calculate utilization, we need to know the
[S]PURR ticks when the CPUs were busy or idle.
Via pseries_idle_prolog(), pseries_idle_epilog(), we track the idle
PURR ticks in the VPA variable "wait_state_cycles". This patch extends
the support to account for the idle SPURR ticks.
Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1586249263-14048-4-git-send-email-ego@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions