From: Keir Fraser Subject: Re: [PATCH] x86 hvm: fix missing ticks bug of c/s 20218 Date: Fri, 18 Sep 2009 08:51:49 +0100 Message-ID: References: <7k8wgcdduj.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7k8wgcdduj.fsf@pingu.sky.yk.fujitsu.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kouya Shimura , "xen-devel@lists.xensource.com" Cc: Christoph Egger List-Id: xen-devel@lists.xenproject.org Moving the line 'pt->scheduled += pt->period' inside the if statement looks pretty dubious. Does your fix still work if we don't move that line? For the default timer mode I'm not sure it should make any difference either way, but it would for timer mode 0. -- Keir On 18/09/2009 06:24, "Kouya Shimura" wrote: > With c/s 20218, timer ticks might be missed when IRQs of a timer are queued. > Next scheduled time is accumulated wrongly. > > Thanks to Christoph for the report. > > Thanks, > Kouya > > Signed-off-by: Kouya Shimura > Reported-by: Christoph Egger >