From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH v6] kvm: Use a bitmap for tracking used GSIs Date: Wed, 13 May 2009 21:46:17 +0300 Message-ID: <20090513184617.GA3724@redhat.com> References: <20090513150815.8221.49221.stgit@dl380g6-3.ned.telco.ned.telco> <20090513172350.8722.70990.stgit@dl380g6-3.ned.telco.ned.telco> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, sheng.yang@intel.com, avi@redhat.com To: Alex Williamson Return-path: Received: from mx2.redhat.com ([66.187.237.31]:36045 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760720AbZEMSrS (ORCPT ); Wed, 13 May 2009 14:47:18 -0400 Content-Disposition: inline In-Reply-To: <20090513172350.8722.70990.stgit@dl380g6-3.ned.telco.ned.telco> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, May 13, 2009 at 11:28:16AM -0600, Alex Williamson wrote: > We're currently using a counter to track the most recent GSI we've > handed out. This quickly hits KVM_MAX_IRQ_ROUTES when using device > assignment with a driver that regularly toggles the MSI enable bit. > This can mean only a few minutes of usable run time. Instead, track > used GSIs in a bitmap. > > Signed-off-by: Alex Williamson Acked-by: Michael S. Tsirkin -- MST