From: Daniel Stodden Subject: x86_32/entry.S question Date: Wed, 05 Dec 2007 14:51:22 +0100 Message-ID: <1196862682.26459.7.camel@thinkpad.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Developers List-Id: xen-devel@lists.xenproject.org Hi all. cli # tests must not race interrupts /*test_softirqs:*/ movl VCPU_processor(%ebx),%eax shl $IRQSTAT_shift,%eax test %ecx,irq_stat(%eax,1) jnz process_softirqs btr $_VCPUF_nmi_pending,VCPU_flags(%ebx) <<--- we are here jc process_nmi Taken from xen-3.0.2. The code may be outdated anyway, but doesn't the btr lack a lock prefix on SMP? regards, daniel -- dns@somacoma.net Wire up your home and stay there.