From: Sean Christopherson <seanjc@google.com>
To: Li RongQing <lirongqing@baidu.com>
Cc: x86@kernel.org, kvm@vger.kernel.org, pbonzini@redhat.com
Subject: Re: [PATCH][v2] KVM: VMX: optimize pi_wakeup_handler
Date: Fri, 8 Apr 2022 02:50:25 +0000 [thread overview]
Message-ID: <Yk+i8S1y9s8YGiST@google.com> (raw)
In-Reply-To: <1649244302-6777-1-git-send-email-lirongqing@baidu.com>
On Wed, Apr 06, 2022, Li RongQing wrote:
> pi_wakeup_handler is used to wakeup the sleep vCPUs by posted irq
> list_for_each_entry is used in it, and whose input is other function
> per_cpu(), That cause that per_cpu() be invoked at least twice when
> there is one sleep vCPU
>
> so optimize pi_wakeup_handler it by reading once and same to per CPU
> spinlock
>
> Signed-off-by: Li RongQing <lirongqing@baidu.com>
> ---
Reviewed-by: Sean Christopherson <seanjc@google.com>
next prev parent reply other threads:[~2022-04-08 2:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 11:25 [PATCH][v2] KVM: VMX: optimize pi_wakeup_handler Li RongQing
2022-04-08 2:50 ` Sean Christopherson [this message]
2022-05-03 10:05 ` 答复: " Li,Rongqing
2022-05-03 11:54 ` Paolo Bonzini
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=Yk+i8S1y9s8YGiST@google.com \
--to=seanjc@google.com \
--cc=kvm@vger.kernel.org \
--cc=lirongqing@baidu.com \
--cc=pbonzini@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