From: Radim Krcmar <rkrcmar@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
Alex Williamson <alex.williamson@redhat.com>
Subject: Re: [PATCH 1/3] KVM: x86: merge kvm_arch_set_irq with kvm_set_msi_inatomic
Date: Mon, 2 Nov 2015 18:01:56 +0100 [thread overview]
Message-ID: <20151102170156.GA28717@potion.brq.redhat.com> (raw)
In-Reply-To: <56378A62.3090706@redhat.com>
2015-11-02 17:08+0100, Paolo Bonzini:
> On 02/11/2015 15:59, Radim Krcmar wrote:
>>> We do not want to do too much work in atomic context, in particular
>>> not walking all the VCPUs of the virtual machine. So we want
>>> to distinguish the architecture-specific injection function for irqfd
>>> from kvm_set_msi. Since it's still empty, reuse the newly added
>>> kvm_arch_set_irq and rename it to kvm_arch_set_irq_inatomic.
>>
>> kvm/queue uses kvm_arch_set_irq since b7184313f4b9 ("kvm/x86: Hyper-V
>> synthetic interrupt controller").
>>
>> Is synic going to be dropped before this patch is merged?
>
> Yes. Both because the Virtuozzo people confirmed that kvm_arch_set_irq
> isn't needed for synic, and because synic is currently broken with APICv.
Thanks.
(We can add direct delivery for |online vcpus| < X if performance with
low number of VCPUs happens to regress because of the schedule_work,)
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
[2/3] and [3/3] are good too.
next prev parent reply other threads:[~2015-11-02 17:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-02 12:21 [PATCH 0/3] KVM: x86: clean up interrupt injection Paolo Bonzini
2015-11-02 12:21 ` [PATCH 1/3] KVM: x86: merge kvm_arch_set_irq with kvm_set_msi_inatomic Paolo Bonzini
2015-11-02 14:59 ` Radim Krcmar
2015-11-02 16:08 ` Paolo Bonzini
2015-11-02 17:01 ` Radim Krcmar [this message]
2015-11-02 17:05 ` Paolo Bonzini
2015-11-02 12:21 ` [PATCH 2/3] KVM: device assignment: remove pointless #ifdefs Paolo Bonzini
2015-11-02 12:21 ` [PATCH 3/3] KVM: x86: move kvm_set_irq_inatomic to legacy device assignment 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=20151102170156.GA28717@potion.brq.redhat.com \
--to=rkrcmar@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
/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