From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghavendra K T Subject: Re: [PATCH RFC V3 4/4] kvm : pv-ticketlocks support for linux guests running on KVM hypervisor Date: Tue, 06 Dec 2011 12:24:05 +0530 Message-ID: <4EDDBC0D.5090602@linux.vnet.ibm.com> References: <20111130085921.23386.89708.sendpatchset@oc5400248562.ibm.com> <20111130090038.23386.4505.sendpatchset@oc5400248562.ibm.com> <20111206032741.GF6647@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111206032741.GF6647@phenom.dumpdata.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge , Raghavendra K T , Peter Zijlstra , Virtualization , "H. Peter Anvin" , Jeremy Fitzhardinge , Dave Jiang , KVM , x86@kernel.org, Ingo Molnar , Avi Kivity , Rik van Riel , Stefano Stabellini , Srivatsa Vaddagiri , Xen , Sasha Levin , Sedat Dilek , Thomas Gleixner , Yinghai Lu , Greg Kroah-Hartman , LKML , Dave Hansen , Suzuki Poulose List-Id: virtualization@lists.linuxfoundation.org On 12/06/2011 08:57 AM, Konrad Rzeszutek Wilk wrote: >> +static inline void add_stats(enum kvm_contention_stat var, int val) > > You probably want 'int val' to be 'u32 val' as that is the type > in contention_stats. > Yes. Thanks for pointing, as its cumulative. It is indeed u32 in #else :).I 'll change that.