From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH v3 1/2] KVM: MMIO: Lock coalesced device when checking for available entry Date: Tue, 19 Jul 2011 13:02:08 -0300 Message-ID: <20110719160208.GA31673@amt.cnet> References: <1310998635-31608-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Avi Kivity , Ingo Molnar , Pekka Enberg To: Sasha Levin Return-path: Received: from mx1.redhat.com ([209.132.183.28]:8194 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750987Ab1GSSHp (ORCPT ); Tue, 19 Jul 2011 14:07:45 -0400 Content-Disposition: inline In-Reply-To: <1310998635-31608-1-git-send-email-levinsasha928@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jul 18, 2011 at 05:17:14PM +0300, Sasha Levin wrote: > Move the check whether there are available entries to within the spinlock. > This allows working with larger amount of VCPUs and reduces premature > exits when using a large number of VCPUs. Applied both, thanks.