He, Qing wrote:
> Current interrupt logic in Qemu unconditionally checks pending irqs on
> PIC after checking local APIC, however, this is problematic.
>       On common platform, PIC is usually connected to the LINT0 of
> local APIC. In this way when local APIC is disabled, this pin behaves
> like INTR. But when local APIC is enabled, its behavior can be
> determined by LVT_LINT0: PIC should only deliver normal irq only when
> `external interrupt' delivery mode is set.
>       x86_64 Linux kernel uses PIT->PIC->LINT0 as NMI source when
> performance counters are not available, but the logic described above
> treats the NMI as normal interrupt which yields a 2x faster global timer
> because an additional timer interrupt is injected on every tick. This
> patch fixes this issue.
>
> Signed-off-by: Qing He <[EMAIL PROTECTED]>
>
>   

Applied, thanks.

This problem is present in regular qemu, can you submit it to qemu-devel
as well?  I'l like not to diverge from upstream qemu.

As your mailer doesn't mark attachments to be displayed inline, please
submit patches in the future both as attachment and inline, for easier
review.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to