From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 10/10] Introduce MSI message sending interface that bypass IRQ routing. Date: Sun, 09 Aug 2009 18:01:15 +0300 Message-ID: <4A7EE4BB.5070606@redhat.com> References: <1249821671-32356-1-git-send-email-gleb@redhat.com> <1249821671-32356-11-git-send-email-gleb@redhat.com> <4A7EE39E.40809@redhat.com> <20090809145245.GA4932@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mx2.redhat.com ([66.187.237.31]:48028 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751312AbZHIOzT (ORCPT ); Sun, 9 Aug 2009 10:55:19 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n79EtKEI030662 for ; Sun, 9 Aug 2009 10:55:20 -0400 In-Reply-To: <20090809145245.GA4932@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/09/2009 05:52 PM, Gleb Natapov wrote: > On Sun, Aug 09, 2009 at 05:56:30PM +0300, Avi Kivity wrote: > >> On 08/09/2009 03:41 PM, Gleb Natapov wrote: >> >>> Sending of MSI using IRQ routing is an artificial concept and potentially >>> big number of MSIs (2048 per device) make it also inefficient. This >>> patch adds an interface to inject MSI messages from userspace to lapic >>> logic directly. The patch also reduces the maximum number of IRQ routing >>> entries to 128 since MSIs will no longer go there and 128 entries cover >>> 5 ioapics and this ought to be enough for anybody. >>> >> In the future many MSIs will be triggered via irqfds, and those >> require irq routing. >> >> > Why? My plan is to change irqfd to use the MSI functions. > > It's still an "install handle, call handle" interface. Maybe it would have been better to start off with your new interface, but having both is too much for too little gain. -- error compiling committee.c: too many arguments to function