diff options
author | Suresh E. Warrier <warrier@linux.vnet.ibm.com> | 2015-03-20 12:39:45 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-04-21 16:21:30 +0300 |
commit | 878610fe9884a34a282cd4431237343864324d23 (patch) | |
tree | e87987f0da6ea462d6a790cebe3673fba8a6d8ff /scripts/checkkconfigsymbols.py | |
parent | a4bd6eb07ca72d21a7a34499ad34cfef6f527d4e (diff) | |
download | linux-878610fe9884a34a282cd4431237343864324d23.tar.xz |
KVM: PPC: Book3S HV: Add guest->host real mode completion counters
Add counters to track number of times we switch from guest real mode
to host virtual mode during an interrupt-related hyper call because the
hypercall requires actions that cannot be completed in real mode. This
will help when making optimizations that reduce guest-host transitions.
It is safe to use an ordinary increment rather than an atomic operation
because there is one ICP per virtual CPU and kvmppc_xics_rm_complete()
only works on the ICP for the current VCPU.
The counters are displayed as part of IPC and ICP state provided by
/sys/debug/kernel/powerpc/kvm* for each VM.
Signed-off-by: Suresh Warrier <warrier@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'scripts/checkkconfigsymbols.py')
0 files changed, 0 insertions, 0 deletions