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] disabling irqs in a non-preemptive OS

To: Matthew Fioravante <Matthew.Fioravante@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] disabling irqs in a non-preemptive OS
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 01 Jan 2010 09:01:59 +0000
Cc:
Delivery-date: Fri, 01 Jan 2010 01:02:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B3D30B9.6070304@xxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqKb8fTFV6NnxQST3a4OaZhTPmzEwAUUtxj
Thread-topic: [Xen-devel] disabling irqs in a non-preemptive OS
User-agent: Microsoft-Entourage/12.23.0.091001
On 31/12/2009 23:16, "Matthew Fioravante" <Matthew.Fioravante@xxxxxxxxxx>
wrote:

> mini-os is a uniprocessor and non-preemptive OS so unless your thread
> blocks, an irq handler (in this case event channel handler) will never
> be run and thus won't be able to touch your critical sections.

What makes you think that? 'Non-preemptive' doesn't mean that you can't be
interrupted by irq context. That's why they're called interrupts!

 -- Keir



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

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