WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] bogus HPET initialization order on x86

>>> On 10.03.11 at 04:35, "Wei, Gang" <gang.wei@xxxxxxxxx> wrote:
> Jan Beulich wrote on 2011-03-09:
>> Also, what's the point of decrementing the per-CPU irq_count in
>> hpet_legacy_irq_tick()?
> 
> The per-CPU irq_count are used for calculate the total irq number excluding 
> hpet irqs in a past period to give a estimation of IO frequence. The hpet irq 
> was counted in do_IRQ, so need to reduce it while handling it. You can see 
> another one in hpet_interrupt_handler().

I can understand the latter, but the one I was asking about
decrements irq_count even if not calling the event handler (i.e.
when returning zero from the function). In other words, I would
have understood what this is for if it was sitting after the initial
if().

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel