mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [ 1/1] KVM/MMU: Fix comment in walk_shadow_page_lockless_end()
@ 2018-09-07  5:45 Tianyu Lan
  2018-09-07  5:59 ` [Resend PATCH] " Tianyu Lan
  2018-09-14 17:42 ` [ 1/1] " Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Tianyu Lan @ 2018-09-07  5:45 UTC (permalink / raw)
  Cc: Tianyu Lan, KY Srinivasan, Haiyang Zhang, Stephen Hemminger,
	tglx, mingo, hpa, x86, pbonzini, rkrcmar, devel, linux-kernel,
	kvm

kvm_commit_zap_page() has been renamed to kvm_mmu_commit_zap_page()
This patch is to fix the commit.

Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com>
---
 arch/x86/kvm/mmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 7ccd29b95746..648b839a349d 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -947,7 +947,7 @@ static void walk_shadow_page_lockless_end(struct kvm_vcpu *vcpu)
 {
 	/*
 	 * Make sure the write to vcpu->mode is not reordered in front of
-	 * reads to sptes.  If it does, kvm_commit_zap_page() can see us
+	 * reads to sptes.  If it does, kvm_mmu_commit_zap_page() can see us
 	 * OUTSIDE_GUEST_MODE and proceed to free the shadow page table.
 	 */
 	smp_store_release(&vcpu->mode, OUTSIDE_GUEST_MODE);
-- 
2.14.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Resend PATCH] KVM/MMU: Fix comment in walk_shadow_page_lockless_end()
  2018-09-07  5:45 [ 1/1] KVM/MMU: Fix comment in walk_shadow_page_lockless_end() Tianyu Lan
@ 2018-09-07  5:59 ` Tianyu Lan
  2018-09-14 17:42 ` [ 1/1] " Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Tianyu Lan @ 2018-09-07  5:59 UTC (permalink / raw)
  Cc: Tianyu Lan, pbonzini, rkrcmar, tglx, mingo, hpa, x86, kvm, linux-kernel

kvm_commit_zap_page() has been renamed to kvm_mmu_commit_zap_page()
This patch is to fix the commit.

Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com>
---
Sorry for the broken title and resend.

 arch/x86/kvm/mmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 7ccd29b95746..648b839a349d 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -947,7 +947,7 @@ static void walk_shadow_page_lockless_end(struct kvm_vcpu *vcpu)
 {
 	/*
 	 * Make sure the write to vcpu->mode is not reordered in front of
-	 * reads to sptes.  If it does, kvm_commit_zap_page() can see us
+	 * reads to sptes.  If it does, kvm_mmu_commit_zap_page() can see us
 	 * OUTSIDE_GUEST_MODE and proceed to free the shadow page table.
 	 */
 	smp_store_release(&vcpu->mode, OUTSIDE_GUEST_MODE);
-- 
2.14.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ 1/1] KVM/MMU: Fix comment in walk_shadow_page_lockless_end()
  2018-09-07  5:45 [ 1/1] KVM/MMU: Fix comment in walk_shadow_page_lockless_end() Tianyu Lan
  2018-09-07  5:59 ` [Resend PATCH] " Tianyu Lan
@ 2018-09-14 17:42 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2018-09-14 17:42 UTC (permalink / raw)
  To: Tianyu Lan
  Cc: KY Srinivasan, Haiyang Zhang, Stephen Hemminger, tglx, mingo,
	hpa, x86, rkrcmar, devel, linux-kernel, kvm

On 07/09/2018 07:45, Tianyu Lan wrote:
> kvm_commit_zap_page() has been renamed to kvm_mmu_commit_zap_page()
> This patch is to fix the commit.
> 
> Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com>
> ---
>  arch/x86/kvm/mmu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
> index 7ccd29b95746..648b839a349d 100644
> --- a/arch/x86/kvm/mmu.c
> +++ b/arch/x86/kvm/mmu.c
> @@ -947,7 +947,7 @@ static void walk_shadow_page_lockless_end(struct kvm_vcpu *vcpu)
>  {
>  	/*
>  	 * Make sure the write to vcpu->mode is not reordered in front of
> -	 * reads to sptes.  If it does, kvm_commit_zap_page() can see us
> +	 * reads to sptes.  If it does, kvm_mmu_commit_zap_page() can see us
>  	 * OUTSIDE_GUEST_MODE and proceed to free the shadow page table.
>  	 */
>  	smp_store_release(&vcpu->mode, OUTSIDE_GUEST_MODE);
> 

Queued, thanks.

Paolo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-14 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-07  5:45 [ 1/1] KVM/MMU: Fix comment in walk_shadow_page_lockless_end() Tianyu Lan
2018-09-07  5:59 ` [Resend PATCH] " Tianyu Lan
2018-09-14 17:42 ` [ 1/1] " Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®