Re: [PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-19 Thread Xiao Guangrong
On 09/19/2014 12:38 AM, Liang Chen wrote: A one-line wrapper around kvm_make_request does not seem particularly useful. Replace kvm_mmu_flush_tlb() with kvm_make_request() again to free the namespace a bit. Signed-off-by: Liang Chen liangchen.li...@gmail.com ---

Re: [PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-19 Thread Radim Krčmář
2014-09-19 14:12+0800, Xiao Guangrong: On 09/19/2014 12:38 AM, Liang Chen wrote: A one-line wrapper around kvm_make_request does not seem particularly useful. Replace kvm_mmu_flush_tlb() with kvm_make_request() again to free the namespace a bit. Signed-off-by: Liang Chen

Re: [PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-19 Thread Xiao Guangrong
On 09/19/2014 08:25 PM, Radim Krčmář wrote: * Returns 1 to let __vcpu_run() continue the guest execution loop without * exiting to the userspace. Otherwise, the value will be returned to the @@ -6018,8 +6024,7 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu) if

Re: [PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-19 Thread Paolo Bonzini
Il 19/09/2014 15:35, Xiao Guangrong ha scritto: Which is why just removing it solves more problems for me :) Thank you for raising this question and letting me know the patch's history. :) I agree with Radim, so I'll apply the patch. Paolo -- To unsubscribe from this list: send the line

Re: [PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-19 Thread Liang Chen
On 09/19/2014 02:12 AM, Xiao Guangrong wrote: On 09/19/2014 12:38 AM, Liang Chen wrote: A one-line wrapper around kvm_make_request does not seem particularly useful. Replace kvm_mmu_flush_tlb() with kvm_make_request() again to free the namespace a bit. Signed-off-by: Liang Chen

Re: [PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-19 Thread Liang Chen
oops, didn't see this ;) Thank you! Thanks, Liang On 09/19/2014 10:00 AM, Paolo Bonzini wrote: Il 19/09/2014 15:35, Xiao Guangrong ha scritto: Which is why just removing it solves more problems for me :) Thank you for raising this question and letting me know the patch's history. :) I

Re: [PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-19 Thread Radim Krčmář
2014-09-19 21:35+0800, Xiao Guangrong: On 09/19/2014 08:25 PM, Radim Krčmář wrote: * Returns 1 to let __vcpu_run() continue the guest execution loop without * exiting to the userspace. Otherwise, the value will be returned to the @@ -6018,8 +6024,7 @@ static int

[PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-18 Thread Liang Chen
A one-line wrapper around kvm_make_request does not seem particularly useful. Replace kvm_mmu_flush_tlb() with kvm_make_request() again to free the namespace a bit. Signed-off-by: Liang Chen liangchen.li...@gmail.com --- arch/x86/include/asm/kvm_host.h | 1 - arch/x86/kvm/mmu.c |

Re: [PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-18 Thread Radim Krčmář
2014-09-18 12:38-0400, Liang Chen: A one-line wrapper around kvm_make_request does not seem particularly useful. Replace kvm_mmu_flush_tlb() with kvm_make_request() again to free the namespace a bit. Signed-off-by: Liang Chen liangchen.li...@gmail.com --- Reviewed-by: Radim Krčmář