]> 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)
commita931b9a64c3f65934e1e99ec27f178e8fdc1f8c9
tree35cf553d8382971deb83b465d646fc56e32f4179
parent1cf081ab848bb5b9deaa005d592ec399406c3741
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