On 09/10/2011 11:41 AM, ya su wrote:
0x80637b85: testl $0x1000, 0xfffe0300
0x80637b8f: jne 0x80637b85
0x80637b91: mov %ecx, 0xfffe0300
0x80637b97: testl $0x1000, 0xfffe0300
0x80637ba1: jne 0x80637b97
I wonder why testl operation will also cause a ICR write, from the
asm code, there should only issue one IPI, but from trace-cmd, it
issued 3 IPI, is there something wrong?
It's a bug in test insn emulation, coincidentally I wrote a patch to fix
it yesterday, not imagining that it actually happens in practice.
Is it also possible to optimize ICR write emulation, from the
result, winxp vm will produce a lot of ICR writes
Unfortunately not.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html