From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 5/7] KVM: cache the last used slot Date: Tue, 22 Feb 2011 16:26:54 +0200 Message-ID: <4D63C7AE.6040108@redhat.com> References: <4D636EF8.60800@cn.fujitsu.com> <4D637019.9070208@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , LKML , KVM To: Xiao Guangrong Return-path: In-Reply-To: <4D637019.9070208@cn.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 02/22/2011 10:13 AM, Xiao Guangrong wrote: > Cache the last used slot, the hit ratio is more than 35% during my test > If we sort the slots by size, or use a weighted balanced tree, this should come for free. -- error compiling committee.c: too many arguments to function