From: Keir Fraser Subject: Re: Re: [PATCH] xen: always handle VIRQ_TIMER first. Date: Sun, 17 Oct 2010 08:38:35 +0100 Message-ID: References: <4CBA937C.6060301@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CBA937C.6060301@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com, Ian Campbell List-Id: xen-devel@lists.xenproject.org On 17/10/2010 07:11, "Jeremy Fitzhardinge" wrote: >> We fixed it the way we did in 'classic Xen' patched kernels since it seemed >> arhitecturally neatest. I can accept that in the tickless kernel world that >> may not actually be true. > > I think (but I haven't spelunked into that code lately) that after a > tickless idle period it will update jiffies N ticks based on the > clocksource, and then run any other interrupt handler code, so jiffies > will always appear to be up to date. Okay, that should suffice. That presumably calls into the clocksource and gives us our opportunity to sync with Xen's current system time. Effectively it's just hooking into the interrupt handling preamble at a different, more generic, point. :-) -- Keir