WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 3 of 3] PoD, hap: Fix logdirty mode when using ha

To: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3 of 3] PoD, hap: Fix logdirty mode when using hardware assisted paging
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Wed, 19 Jan 2011 12:41:32 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 19 Jan 2011 04:43:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <dd81c7acd9b323e9d2e4.1295274995@elijah>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1295274992@elijah> <dd81c7acd9b323e9d2e4.1295274995@elijah>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
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 <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel