Re: [kvm-devel] [patch 3/5] KVM: hypercall batching (v2)

2008-02-21 Thread Avi Kivity
Marcelo Tosatti wrote: Batch pte updates and tlb flushes in lazy MMU mode. v1-v2: - report individual hypercall error code, have multicall return number of processed entries. - cover entire multicall duration with slots_lock instead of acquiring/reacquiring. But not all hypercalls

Re: [kvm-devel] [patch 3/5] KVM: hypercall batching (v2)

2008-02-21 Thread Marcelo Tosatti
On Thu, Feb 21, 2008 at 05:52:25PM +0200, Avi Kivity wrote: Marcelo Tosatti wrote: Batch pte updates and tlb flushes in lazy MMU mode. v1-v2: - report individual hypercall error code, have multicall return number of processed entries. - cover entire multicall duration with slots_lock

Re: [kvm-devel] [patch 3/5] KVM: hypercall batching (v2)

2008-02-21 Thread Avi Kivity
Marcelo Tosatti wrote: On Thu, Feb 21, 2008 at 05:52:25PM +0200, Avi Kivity wrote: Marcelo Tosatti wrote: Batch pte updates and tlb flushes in lazy MMU mode. v1-v2: - report individual hypercall error code, have multicall return number of processed entries. - cover entire

Re: [kvm-devel] [patch 3/5] KVM: hypercall batching (v2)

2008-02-21 Thread Marcelo Tosatti
On Thu, Feb 21, 2008 at 08:30:04PM +0200, Avi Kivity wrote: Perhaps you want to move that enforcement to the host. This allows batching of future hypercalls (if appropriate) to be easy. I'm still uneasy about it, though I have no rational reasons left now. Oh, there is one: with a

Re: [kvm-devel] [patch 3/5] KVM: hypercall batching (v2)

2008-02-21 Thread Avi Kivity
Marcelo Tosatti wrote: On Thu, Feb 21, 2008 at 08:30:04PM +0200, Avi Kivity wrote: Perhaps you want to move that enforcement to the host. This allows batching of future hypercalls (if appropriate) to be easy. I'm still uneasy about it, though I have no rational reasons left

[kvm-devel] [patch 3/5] KVM: hypercall batching (v2)

2008-02-20 Thread Marcelo Tosatti
Batch pte updates and tlb flushes in lazy MMU mode. v1-v2: - report individual hypercall error code, have multicall return number of processed entries. - cover entire multicall duration with slots_lock instead of acquiring/reacquiring. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Cc: