From: "Jan Beulich" Subject: Re: x86_32/entry.S question Date: Thu, 06 Dec 2007 16:48:22 +0000 Message-ID: <475835E6.76E4.0078.0@novell.com> References: <1196862682.26459.7.camel@thinkpad.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1196862682.26459.7.camel@thinkpad.localdomain> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Daniel Stodden Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > 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