----- "Glauber Costa" <glom...@redhat.com> wrote: > On Fri, Aug 27, 2010 at 01:49:45PM +0800, Jason Wang wrote: > > +#define unlikely(x) __builtin_expect(!!(x), 0) > > + > > +struct pvclock_vcpu_time_info hv_clock[MAX_CPU]; > this structure have to be 4-byte aligned. Let the compiler > help you guaranteeing it here. > > > +#define MAX_CPU 4 > > + > Any particular reason for the number 4? I'd like > to see these tests running in really big boxes, > where things get really interesting.
Just because the max cpu num was limited by smp initialization code. I would change it to 64. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html