Re: [PATCH 5/7] KVM: cache the last used slot

From: Avi Kivity
Date: Tue Feb 22 2011 - 09:27:04 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/