On Thu, Jan 27, 2011 at 11:28:12AM +0200, Avi Kivity wrote: > On 01/27/2011 11:26 AM, Michael S. Tsirkin wrote: > >> >Right. That's why I say that sorting by size might not be optimal. > >> >Maybe a cache ... > >> > >> Why would it not be optimal? > >> > >> If you have 16GB RAM in two slots and a few megabytes here and there > >> scattered in some slots, you have three orders of magnitudes to > >> spare. > > > >Yes but you might not be accessing all that RAM. > >Maybe your workset is just tens of megabytes. > > Great, then you fault it in and never touch the slots array again. Yep. Except for emulated mmio :) > -- > error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html