From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCHv2] [APIC] Optimize searching for highest IRR Date: Sun, 14 Jun 2009 14:04:02 +0300 Message-ID: <4A34D922.6030906@redhat.com> References: <20090611080651.GP15949@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, mtosatti@redhat.com To: Gleb Natapov Return-path: Received: from mx2.redhat.com ([66.187.237.31]:46893 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752319AbZFNLED (ORCPT ); Sun, 14 Jun 2009 07:04:03 -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 n5EB45iu026103 for ; Sun, 14 Jun 2009 07:04:05 -0400 In-Reply-To: <20090611080651.GP15949@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Gleb Natapov wrote: > Most of the time IRR is empty, so instead of scanning the whole IRR on > each VM entry keep a variable that tells us if IRR is not empty. IRR > will have to be scanned twice on each IRQ delivery, but this is much > more rare than VM entry. > > Applied, thanks. -- error compiling committee.c: too many arguments to function