From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM: use proper hrtimer function to retrieve expiration time Date: Thu, 08 Oct 2009 16:16:32 +0200 Message-ID: <4ACDF440.8070205@redhat.com> References: <20091008135503.GA4502@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:13644 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932118AbZJHOQ7 (ORCPT ); Thu, 8 Oct 2009 10:16:59 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n98EGXlb030279 for ; Thu, 8 Oct 2009 10:16:33 -0400 In-Reply-To: <20091008135503.GA4502@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: On 10/08/2009 03:55 PM, Marcelo Tosatti wrote: > hrtimer->base can be temporarily NULL due to racing hrtimer_start. > See switch_hrtimer_base/lock_hrtimer_base. > > Use hrtimer_get_remaining which is robust against it. > > Thanks, applied and queued for 2.6.32. -- error compiling committee.c: too many arguments to function