From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [patch 3/4] KVM: introduce irq_lock, use it to protect ioapic Date: Mon, 25 May 2009 08:11:14 -0300 Message-ID: <20090525111114.GC2789@amt.cnet> References: <20090520184841.954066003@localhost.localdomain> <20090520185134.748295218@localhost.localdomain> <4A19553F.1090903@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Gregory Haskins To: Avi Kivity Return-path: Received: from mx2.redhat.com ([66.187.237.31]:46695 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751730AbZEYOLY (ORCPT ); Mon, 25 May 2009 10:11:24 -0400 Content-Disposition: inline In-Reply-To: <4A19553F.1090903@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, May 24, 2009 at 05:10:07PM +0300, Avi Kivity wrote: > Marcelo Tosatti wrote: >> Subject says it all. >> > > I hate those changelogs. I guess Subject never reviews code. > > You might put some evidence that we're suffering from contention here > (I'm very willing to believe it, but hard evidence is better). Don't have any evidence yet, the main purpose of the split is to fix the deadlock. But, with the data we have so far, slots_lock and kvm->lock will cause significant cache bouncing on EPT hardware (with measurements on shadow mmu_lock is #1 offender).