From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Date: Fri, 30 Apr 2021 12:07:19 +0000 Subject: Re: [PATCH v4 1/4] KVM: stats: Separate common stats from architecture specific ones Message-Id: <87bl9wnfgo.wl-maz@kernel.org> List-Id: References: <20210429203740.1935629-1-jingzhangos@google.com> <20210429203740.1935629-2-jingzhangos@google.com> In-Reply-To: <20210429203740.1935629-2-jingzhangos@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jing Zhang Cc: KVM , KVMARM , LinuxMIPS , KVMPPC , LinuxS390 , Linuxkselftest , Paolo Bonzini , James Morse , Julien Thierry , Suzuki K Poulose , Will Deacon , Huacai Chen , Aleksandar Markovic , Thomas Bogendoerfer , Paul Mackerras , Christian Borntraeger , Janosch Frank , David Hildenbrand , Cornelia Huck , Claudio Imbrenda , Sean Christopherson , Vitaly Kuznetsov , Jim Mattson , Peter Shier , Oliver Upton , David Rientjes , Emanuele Giuseppe Esposito On Thu, 29 Apr 2021 21:37:37 +0100, Jing Zhang wrote: > +struct kvm_vm_stat_common { > + ulong remote_tlb_flush; > +}; > + > +struct kvm_vcpu_stat_common { > + u64 halt_successful_poll; > + u64 halt_attempted_poll; > + u64 halt_poll_invalid; > + u64 halt_wakeup; > + u64 halt_poll_success_ns; > + u64 halt_poll_fail_ns; > +}; Why can't we make everything a u64? Is there anything that really needs to be a ulong? On most architectures, they are the same anyway, so we might as well bite the bullet. M. -- Without deviation from the norm, progress is not possible.