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] [PATCH] Dont' round-robin the callback interrupt

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Dont' round-robin the callback interrupt
From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Date: Mon, 12 Jul 2010 19:29:24 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Delivery-date: Mon, 12 Jul 2010 11:30:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C861124F.1A721%keir.fraser@xxxxxxxxxxxxx>
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>
References: <C8610CD2.1A710%keir.fraser@xxxxxxxxxxxxx> <C861124F.1A721%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acsh2l51nUJdh1UOQtW3725Fv+EghQAAbrFIAABbDJYAAHW7YAABs2aFAADRXdoAAZ/WAA==
Thread-topic: [Xen-devel] [PATCH] Dont' round-robin the callback interrupt
Just to be clear. I'm only modifying the behavior of the irq being used for 
callback, so this should not affect pass through devices.

  Paul

> -----Original Message-----
> From: Keir Fraser
> Sent: 12 July 2010 18:41
> To: Keir Fraser; Paul Durrant; xen-devel@xxxxxxxxxxxxxxxxxxx
> Cc: Tim Deegan; Juergen Gross
> Subject: Re: [Xen-devel] [PATCH] Dont' round-robin the callback
> interrupt
> 
> On 12/07/2010 18:17, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
> wrote:
> 
> >>   However, that's not the motivation for this patch. In the
> windows code, we
> >> only bind event channels to vcpu 0 since we cannot get callback
> interrupts on
> >> multiple vcpus simultaneously, since the interrupt is level
> sensitive. Thus
> >> round-robining is wasteful in terms of kicking certain data
> structures
> >> between
> >> caches (assuming a reasonably constant vcpu -> pcpu mapping).
> >
> > Surely that argument can be made for any interrupt that is set up
> to
> > round-robin among multiple CPUs? Obviously in the PV drivers case
> the
> > event-channel IRQ is probably the only significant source of
> round-robin
> > interrupts. But I don't see that it's special in any other way.
> 
> Further, the correct semantics for LowestPrio delivery was
> implemented by
> Juergen Gross at Fujitsu for a reason. Cc'ing him. I suspect he will
> say
> that relaxing the delivery semantics will cause something he cares
> about to
> break.
> 
>  -- Keir
> 


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