]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: track synchronous pfault events in kvm_stat
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 25 Nov 2020 09:06:58 +0000 (10:06 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 10 Dec 2020 13:20:26 +0000 (14:20 +0100)
commited45f956e091898996bdf36795742e3871efb7ae
tree35cf553d8382971deb83b465d646fc56e32f4179
parent2089f403da231aa4a3956a78fe85a90fca7e67b4
KVM: s390: track synchronous pfault events in kvm_stat

Right now we do count pfault (pseudo page faults aka async page faults
start and completion events). What we do not count is, if an async page
fault would have been possible by the host, but it was disabled by the
guest (e.g. interrupts off, pfault disabled, secure execution....).  Let
us count those as well in the pfault_sync counter.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/20201125090658.38463-1-borntraeger@de.ibm.com
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c