Re: [PATCH v16 00/10] KVM/arm/arm64/x86: dirty page logging for ARMv7/8 (3.18.0-rc2)

Christoffer Dall <[email protected]> Wed, 21 Jan 2015 11:08:23 +0000
Newsgroups org.kernel.vger.kvm-ia64,org.infradead.lists.linux-arm-kernel,org.kernel.vger.kvm,org.kernel.vger.kvm-ppc
Message-ID <20150121110823.GB15076@cbox>
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