From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC PATCH 0/2] irq destination caching prototype Date: Mon, 13 Aug 2012 15:14:36 +0300 Message-ID: <5028EFAC.3010200@redhat.com> References: <5028D52D.9050104@redhat.com> <20120813102402.GT3341@redhat.com> <5028D788.3070006@redhat.com> <20120813103845.GA16300@redhat.com> <5028DDCD.1090205@redhat.com> <20120813110108.GX3341@redhat.com> <5028DF17.2050008@redhat.com> <20120813111241.GY3341@redhat.com> <20120813112214.GB16801@redhat.com> <20120813112931.GZ3341@redhat.com> <20120813114313.GB3341@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "Michael S. Tsirkin" , kvm@vger.kernel.org, Jan Kiszka To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:59110 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751497Ab2HMMOl (ORCPT ); Mon, 13 Aug 2012 08:14:41 -0400 In-Reply-To: <20120813114313.GB3341@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/13/2012 02:43 PM, Gleb Natapov wrote: >> MSI does not have shorthand, so it is simpler but the code above does >> work for APIC_DFR_CLUSTER as far as I can tell and it does not check >> lowest prio, which is not multicast, but should bot be cached. >> > It also a little bit pessimistic for logical mode. Dest may have more > than one bit set, but be delivered to only one cpu. We can still loop, for_each_set_bit(). Even if all are set, it's limited to 16. -- error compiling committee.c: too many arguments to function