From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:52655 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728247AbgKYJbd (ORCPT ); Wed, 25 Nov 2020 04:31:33 -0500 Date: Wed, 25 Nov 2020 10:31:21 +0100 From: Cornelia Huck Subject: Re: [PATCH] KVM: s390: track synchronous pfault events in kvm_stat Message-ID: <20201125103121.3d4f154a.cohuck@redhat.com> In-Reply-To: <20201125090658.38463-1-borntraeger@de.ibm.com> References: <20201125090658.38463-1-borntraeger@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-ID: To: Christian Borntraeger Cc: Janosch Frank , KVM , David Hildenbrand , linux-s390 On Wed, 25 Nov 2020 10:06:58 +0100 Christian Borntraeger wrote: > 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 > --- > arch/s390/include/asm/kvm_host.h | 1 + > arch/s390/kvm/kvm-s390.c | 2 ++ > 2 files changed, 3 insertions(+) Reviewed-by: Cornelia Huck