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] do_iret bug in xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] do_iret bug in xen
From: Andres Lagar-Cavilla <andreslc@xxxxxxxxxxxxxx>
Date: Tue, 27 Nov 2007 16:50:35 -0500
Cc: ashish.bijlani@xxxxxxxxx, Daniel Stodden <stodden@xxxxxxxxxx>
Delivery-date: Tue, 27 Nov 2007 13:46:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1Ix7Vw-000810-RL@host-192-168-0-1-bcn-london>
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: <E1Ix7Vw-000810-RL@host-192-168-0-1-bcn-london>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20070530)
raise_softirq is not the same as actually doing it. Raise only sets a bit indicating pending softirq. Before returning to the guest, the bin triggers actual execution of the softirq

Andres

   since "sti" is on, an interrupt can occur which can cause the
   control to enter "__runq_tickle", which then invokes
   "cpumask_raise_softirq(mask, SCHEDULE_SOFTIRQ)" to send IPI to a
   processor causing the control to enter "__enter_scheduler" which
changes the current.


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

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