From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 1/1 v2] KVM: Reduce mmu_lock contention during dirty logging by cond_resched() Date: Tue, 1 May 2012 00:04:47 -0300 Message-ID: <20120501030447.GA11921@amt.cnet> References: <20120428190544.7dc2bfd281054c1fcac5a14e@gmail.com> <20120428190754.5c27325da5663e5d8c9b9be1@gmail.com> <4F9D25A2.7020303@redhat.com> <20120429211759.0265df80d7193048344ff35b@gmail.com> <4F9D3B26.7090602@redhat.com> <20120429232407.684da454a0862f121754a126@gmail.com> <4F9D52A7.8020105@redhat.com> <20120429235550.856ff62eff954caf9ea739b5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm@vger.kernel.org, yoshikawa.takuya@oss.ntt.co.jp To: Takuya Yoshikawa Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44838 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757423Ab2EADMR (ORCPT ); Mon, 30 Apr 2012 23:12:17 -0400 Content-Disposition: inline In-Reply-To: <20120429235550.856ff62eff954caf9ea739b5@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Apr 29, 2012 at 11:55:50PM +0900, Takuya Yoshikawa wrote: > On Sun, 29 Apr 2012 17:39:35 +0300 > Avi Kivity wrote: > > > > How about your own idea? > > > > > > > Looks pretty good, if I do say so myself. I'll take a shot at > > implementing it. > > > Looking forward to it! > After your work, 8192 in my patch may better be lowered a bit. Why not simply use spin_is_contented again? Are you afraid of GET_DIRTY_LOG starved by pagefaults?