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] Dynamic-irq's in HVM domains

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Dynamic-irq's in HVM domains
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sat, 1 Dec 2007 09:00:06 +1100
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Delivery-date: Fri, 30 Nov 2007 14:00:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200711301857.44555.mark.williamson@xxxxxxxxxxxx>
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: <AEC6C66638C05B468B556EA548C1A77D0131A1B1@trantor> <1196415224.21533.24.camel@xxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0131A2E1@trantor> <200711301857.44555.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgzgwwmrC7az2BhRrCKL5H3Mn6zAQAGO3NA
Thread-topic: [Xen-devel] Dynamic-irq's in HVM domains
> Doesn't windows have some kind of deferred work processing like Linux
> softirqs
> or workqueues that you could used to schedule work to happen soon in
> driver
> context?  That'd enable you to do everything within existing windows
APIs.

Yes, but all scsiport calls have to be done from within the context of
the scsiport code. Aside from the request processing path where you get
a new srb (scsi request block) to process, you have two choices - the
isr, and a timer callback. Performance with the timer callback is
horrible, for obvious reasons. An isr has to be hooked to an actual irq.
Therein lies the problem...

The more I read about this the more I find other people looking for the
same sort of solution... I may have to abandon the whole scsiport idea,
which would be a shame.

Thanks

James

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