From: Keir Fraser Subject: Re: [PATCH 2/2] passthrough: deliver IRQs even if bsp is halted (support kexec/kdump on hvm) Date: Tue, 30 Jun 2009 10:04:19 +0100 Message-ID: References: <715D42877B251141A38726ABF5CABF2C0545A1FB7C@pdsmsx503.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <715D42877B251141A38726ABF5CABF2C0545A1FB7C@pdsmsx503.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Han, Weidong" , 'Kouya Shimura' , "'xen-devel@lists.xensource.com'" List-Id: xen-devel@lists.xenproject.org On 30/06/2009 09:53, "Han, Weidong" wrote: > Kouya Shimura wrote: >> This patch is needed for kexec/kdump on hvm since kdump halts bsp. >> >> Signed-off-by: Kouya Shimura > > It kicks every online vcpu. The result will be more unnecessary IPIs, > especially the vcpu# is big. Therefore increase cost of interrupt handling of > assigned devices. Actually it breaks out of the loop as soon as it kicks one. But still all vcpus will pile into hvm_dirq_assist() on every vmexit, which is quite undesirable too. -- Keir