From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v4 0/9] make interrupt injection lockless (almost) Date: Wed, 26 Aug 2009 14:15:31 +0300 Message-ID: <4A951953.1070405@redhat.com> References: <1251104066-23504-1-git-send-email-gleb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56845 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757168AbZHZLPc (ORCPT ); Wed, 26 Aug 2009 07:15:32 -0400 Received: from int-mx07.intmail.prod.int.phx2.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7QBFXbZ032146 for ; Wed, 26 Aug 2009 07:15:33 -0400 In-Reply-To: <1251104066-23504-1-git-send-email-gleb@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/24/2009 11:54 AM, Gleb Natapov wrote: > kvm->irq_lock protects too much stuff, but still fail to protect > everything it was design to protect (see ack notifiers call in pic). I > want to make IRQ injection fast path as lockless as possible. This patch > series removes kvm->irq_lock from irq injection path effectively making > interrupt injection to lapic lockless (several kvm_irq_delivery_to_apic() > may run in parallel), but access to lapic was never fully locked in the > first place. VCPU could access lapic in parallel with interrupt injection. > Patches 2-3 changes irq routing data structure to much more efficient one. > Applied all, thanks. -- error compiling committee.c: too many arguments to function