From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v2 1/2] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts Date: Mon, 18 Jan 2016 11:41:38 +0100 Message-ID: <569CC162.6090207@redhat.com> References: <1450229853-3886-1-git-send-email-feng.wu@intel.com> <1450229853-3886-2-git-send-email-feng.wu@intel.com> <20151223171932.GB7061@potion.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" To: "Wu, Feng" , =?UTF-8?Q?Radim_Krcm=c3=a1r?= Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 18/01/2016 06:19, Wu, Feng wrote: > However, > this will make the vector-hashing lowest-priority handling slightly different > compare to round-robin, since RR checks "!dst[i]" before injecting the > interrupts. What is your opinion about it? Thanks a lot! I think Radim's suggestion is fine. You can print an error (just once per guest) to dmesg if the result of the hashing computation corresponds to a disabled APIC. Paolo