From: Keir Fraser Subject: Re: [PATCH] Dont' round-robin the callback interrupt Date: Mon, 12 Jul 2010 18:41:19 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , Paul Durrant , "xen-devel@lists.xensource.com" Cc: Tim Deegan , Juergen Gross List-Id: xen-devel@lists.xenproject.org On 12/07/2010 18:17, "Keir Fraser" 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