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] x86_32/entry.S question

To: "Daniel Stodden" <dns@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] x86_32/entry.S question
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Thu, 06 Dec 2007 16:48:22 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 Dec 2007 08:48:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1196862682.26459.7.camel@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1196862682.26459.7.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>        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?

Yes, it was lacking a lock, but no, the code isn't there anymore in a shape
close to that.

Jan


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

<Prev in Thread] Current Thread [Next in Thread>