From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mario Smarduch Subject: Re: [PATCH v16 00/10] KVM/arm/arm64/x86: dirty page logging for ARMv7/8 (3.18.0-rc2) Date: Wed, 21 Jan 2015 10:38:50 -0800 Message-ID: <54BFF23A.30205@samsung.com> References: <1421366341-26012-1-git-send-email-m.smarduch@samsung.com> <20150121110823.GB15076@cbox> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: marc.zyngier@arm.com, pbonzini@redhat.com, james.hogan@imgtec.com, agraf@suse.de, cornelia.huck@de.ibm.com, borntraeger@de.ibm.com, catalin.marinas@arm.com, steve.capper@arm.com, peter.maydell@linaro.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvm-ppc@vger.kernel.org, kvm-ia64@vger.kernel.org To: Christoffer Dall Return-path: In-reply-to: <20150121110823.GB15076@cbox> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 01/21/2015 03:08 AM, Christoffer Dall wrote: > On Thu, Jan 15, 2015 at 03:58:51PM -0800, Mario Smarduch wrote: >> Patch series adds support for armv7/8 dirty page logging. As we move >> towards generic dirty page logging interface we move some common code to >> generic layer shared by x86, armv7 and armv8. >> >> armv7/8 Dirty page logging implementation overivew- >> - initially write protects memory region 2nd stage page tables >> - read dirty page log and again write protect dirty pages for next pass. >> - second stage huge pages are dissolved into normal pages to keep track of >> dirty memory at page granularity. Tracking at huge page granularity >> limits granularity of marking dirty memory and migration to a light memory >> load. Small page size logging supports higher memory dirty rates, enables >> rapid migration. >> >> armv7 supports 2MB Huge page, and armv8 supports 2MB (4kb) and >> 512MB (64kb) >> - In the event migration is canceled, normal behavior is resumed huge pages >> are rebuilt over time. >> > > Thanks, applied. > > -Christoffer > Thanks! And also to other folks that helped along the way in shaping the design and reviews. - Mario