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] fooey. no interrupts.

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] fooey. no interrupts.
From: ron minnich <rminnich@xxxxxxxx>
Date: Tue, 10 Aug 2004 09:46:45 -0600 (MDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Aug 2004 17:00:44 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1BuSbc-0007ty-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
it looks like I'm falling into the gap between how linux does interrupts 
and how Plan 9 does them. 

I'm still seeing the race condition, even with the suggestions you posted
in place in my interrupt handler. I'll try to work this a bit more but it
does seem to me that if you're taking too long in your interrupt handler
you will get bit by the race -- Xen will I assume pre-empt dom1 in the
event of a clock interrupt, and at that point it is game over. I think
long term a "level interrupt" construct may be needed, but that is
conjecture on my part.

Trying to latch levels in a UP is a lot different than latching them in
hardware, since the hardware is more or less running all the time, but the
Xen/Dom0/Dom1 is all time shared. Looking at the race sequence I think I'm
seeing I'm still not convinced it is completely avoidable, but I will hope
I am wrong.

thanks for the good suggestions!

ron


-- 
LANL CCS-1 email flavor:
***** Correspondence   []
***** DUSA LACSI-HW    [ ]
***** DUSA LACSI-OS    [x ]
***** DUSA LACSI-CS    [ ]




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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