diff options
author | Sean Christopherson <seanjc@google.com> | 2021-10-08 19:11:58 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-08 04:24:47 -0500 |
commit | 8df6a61c04038fa481a717fc86af38304aa600a3 (patch) | |
tree | 7034636766d1044824e34478e44adc060aa4ae6e /virt/Makefile | |
parent | 510958e997217e39a16b47afb5a44dfa39013964 (diff) | |
download | lwn-8df6a61c04038fa481a717fc86af38304aa600a3.tar.gz lwn-8df6a61c04038fa481a717fc86af38304aa600a3.zip |
KVM: Update halt-polling stats if and only if halt-polling was attempted
Don't update halt-polling stats if halt-polling wasn't attempted. This is
a nop as @poll_ns is guaranteed to be '0' (poll_end == start); in a future
patch (to move the histogram stats into the helper), it will avoid to
avoid a discrepancy in what is considered a "successful" halt-poll.
No functional change intended.
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211009021236.4122790-6-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/Makefile')
0 files changed, 0 insertions, 0 deletions