mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Li Qiang <liq3ea@163.com>,
	x86@kernel.org, kvm@vger.kernel.org, mtosatti@redhat.com
Cc: liq3ea@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cpuidle-haltpoll: fix error comments in arch_haltpoll_disable
Date: Fri, 25 Sep 2020 22:15:58 +0200	[thread overview]
Message-ID: <f505ee30-6d13-5b48-e772-c715b78c2400@redhat.com> (raw)
In-Reply-To: <20200924155800.4939-1-liq3ea@163.com>

On 24/09/20 17:58, Li Qiang wrote:
> The 'arch_haltpoll_disable' is used to disable guest halt poll.
> Correct the comments.
> 
> Fixes: a1c4423b02b21 ("cpuidle-haltpoll: disable host side polling when kvm virtualized")
> Signed-off-by: Li Qiang <liq3ea@163.com>
> ---
>  arch/x86/kernel/kvm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c
> index 08320b0b2b27..94ebb31cb4ce 100644
> --- a/arch/x86/kernel/kvm.c
> +++ b/arch/x86/kernel/kvm.c
> @@ -954,7 +954,7 @@ void arch_haltpoll_disable(unsigned int cpu)
>  	if (!kvm_para_has_feature(KVM_FEATURE_POLL_CONTROL))
>  		return;
>  
> -	/* Enable guest halt poll disables host halt poll */
> +	/* Disable guest halt poll enables host halt poll */
>  	smp_call_function_single(cpu, kvm_enable_host_haltpoll, NULL, 1);
>  }
>  EXPORT_SYMBOL_GPL(arch_haltpoll_disable);
> 

Queued, thanks.

Paolo


      reply	other threads:[~2020-09-25 20:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24 15:58 Li Qiang
2020-09-25 20:15 ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f505ee30-6d13-5b48-e772-c715b78c2400@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liq3ea@163.com \
    --cc=liq3ea@gmail.com \
    --cc=mtosatti@redhat.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®