[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] x86_32/entry.S question


  • To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Daniel Stodden <dns@xxxxxxxxxxxx>
  • Date: Wed, 05 Dec 2007 14:51:22 +0100
  • Delivery-date: Thu, 06 Dec 2007 08:34:55 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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@xxxxxxxxxxxx

Wire up your home and stay there.




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.