Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932102AbbKBRCD (ORCPT ); Mon, 2 Nov 2015 12:02:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34199 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753765AbbKBRCA (ORCPT ); Mon, 2 Nov 2015 12:02:00 -0500 Date: Mon, 2 Nov 2015 18:01:56 +0100 From: Radim Krcmar To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Alex Williamson Subject: Re: [PATCH 1/3] KVM: x86: merge kvm_arch_set_irq with kvm_set_msi_inatomic Message-ID: <20151102170156.GA28717@potion.brq.redhat.com> References: <1446466878-32837-1-git-send-email-pbonzini@redhat.com> <1446466878-32837-2-git-send-email-pbonzini@redhat.com> <20151102145923.GB24667@potion.brq.redhat.com> <56378A62.3090706@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56378A62.3090706@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1238 Lines: 29 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ář [2/3] and [3/3] are good too. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/