kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: Drop stale kvm_is_transparent_hugepage() declaration
@ 2021-10-18 15:14 Vitaly Kuznetsov
  2021-10-18 15:18 ` Marc Zyngier
  2021-12-07  9:15 ` Marc Zyngier
  0 siblings, 2 replies; 3+ messages in thread
From: Vitaly Kuznetsov @ 2021-10-18 15:14 UTC (permalink / raw)
  To: kvm, Paolo Bonzini
  Cc: Sean Christopherson, Wanpeng Li, Jim Mattson, Marc Zyngier,
	linux-kernel

kvm_is_transparent_hugepage() was removed in commit 205d76ff0684 ("KVM:
Remove kvm_is_transparent_hugepage() and PageTransCompoundMap()") but its
declaration in include/linux/kvm_host.h persisted. Drop it.

Fixes: 205d76ff0684 (""KVM: Remove kvm_is_transparent_hugepage() and PageTransCompoundMap()")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
---
 include/linux/kvm_host.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 0f18df7fe874..2dc62a8cc96c 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -1164,7 +1164,6 @@ int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu);
 
 bool kvm_is_reserved_pfn(kvm_pfn_t pfn);
 bool kvm_is_zone_device_pfn(kvm_pfn_t pfn);
-bool kvm_is_transparent_hugepage(kvm_pfn_t pfn);
 
 struct kvm_irq_ack_notifier {
 	struct hlist_node link;
-- 
2.31.1


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

* Re: [PATCH] KVM: Drop stale kvm_is_transparent_hugepage() declaration
  2021-10-18 15:14 [PATCH] KVM: Drop stale kvm_is_transparent_hugepage() declaration Vitaly Kuznetsov
@ 2021-10-18 15:18 ` Marc Zyngier
  2021-12-07  9:15 ` Marc Zyngier
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Zyngier @ 2021-10-18 15:18 UTC (permalink / raw)
  To: Vitaly Kuznetsov
  Cc: kvm, Paolo Bonzini, Sean Christopherson, Wanpeng Li, Jim Mattson,
	linux-kernel

On Mon, 18 Oct 2021 16:14:07 +0100,
Vitaly Kuznetsov <vkuznets@redhat.com> wrote:
> 
> kvm_is_transparent_hugepage() was removed in commit 205d76ff0684 ("KVM:
> Remove kvm_is_transparent_hugepage() and PageTransCompoundMap()") but its
> declaration in include/linux/kvm_host.h persisted. Drop it.
> 
> Fixes: 205d76ff0684 (""KVM: Remove kvm_is_transparent_hugepage() and PageTransCompoundMap()")
> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
> ---
>  include/linux/kvm_host.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> index 0f18df7fe874..2dc62a8cc96c 100644
> --- a/include/linux/kvm_host.h
> +++ b/include/linux/kvm_host.h
> @@ -1164,7 +1164,6 @@ int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu);
>  
>  bool kvm_is_reserved_pfn(kvm_pfn_t pfn);
>  bool kvm_is_zone_device_pfn(kvm_pfn_t pfn);
> -bool kvm_is_transparent_hugepage(kvm_pfn_t pfn);
>  
>  struct kvm_irq_ack_notifier {
>  	struct hlist_node link;

Acked-by: Marc Zyngier <maz@kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.

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

* Re: [PATCH] KVM: Drop stale kvm_is_transparent_hugepage() declaration
  2021-10-18 15:14 [PATCH] KVM: Drop stale kvm_is_transparent_hugepage() declaration Vitaly Kuznetsov
  2021-10-18 15:18 ` Marc Zyngier
@ 2021-12-07  9:15 ` Marc Zyngier
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Zyngier @ 2021-12-07  9:15 UTC (permalink / raw)
  To: kvm, Vitaly Kuznetsov, Paolo Bonzini
  Cc: Sean Christopherson, Jim Mattson, Wanpeng Li, linux-kernel

On Mon, 18 Oct 2021 17:14:07 +0200, Vitaly Kuznetsov wrote:
> kvm_is_transparent_hugepage() was removed in commit 205d76ff0684 ("KVM:
> Remove kvm_is_transparent_hugepage() and PageTransCompoundMap()") but its
> declaration in include/linux/kvm_host.h persisted. Drop it.

Applied to next, thanks!

[1/1] KVM: Drop stale kvm_is_transparent_hugepage() declaration
      commit: f0e6e6fa41b3d2aa1dcb61dd4ed6d7be004bb5a8

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.



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

end of thread, other threads:[~2021-12-07  9:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-18 15:14 [PATCH] KVM: Drop stale kvm_is_transparent_hugepage() declaration Vitaly Kuznetsov
2021-10-18 15:18 ` Marc Zyngier
2021-12-07  9:15 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).