Dong, Eddie wrote: > A minor change to reduce vcpu_put/vcpu_load frequency (still base on > KVM-18). Not sure if you would like to see this? > > Signed-off-by: Yaozu Dong <[EMAIL PROTECTED]> > > --- vmx.old 2007-04-25 20:28:19.000000000 +0800 > +++ vmx.new 2007-04-25 20:28:10.000000000 +0800 > @@ -1945,7 +1945,8 @@ > return -EINTR; > } > > - kvm_resched(vcpu); > + if ( need_resched() ) > + kvm_resched(vcpu); > goto again; > } > } >
This is good, especially if we move some msrs to vcpu_load(). But please, no spaces around need_resched(). -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel