From: Tim Deegan Subject: Re: [PATCH 3 of 3] PoD, hap: Fix logdirty mode when using hardware assisted paging Date: Wed, 19 Jan 2011 12:41:32 +0000 Message-ID: <20110119124132.GD8286@whitby.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 14:36 +0000 on 17 Jan (1295274995), George Dunlap wrote: > PoD,hap: Fix logdirty mode when using hardware assisted paging > > When writing a writable p2m entry for a pfn, we need to mark the pfn > dirty to avoid corruption when doing live migration. > > Marking the page dirty exposes another issue, where there are > excessive sweeps for zero pages if there's a mismatch between PoD > entries and cache entries. Only sweep for zero pages if we actually > need more memory. Applied, thanks. Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)