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] Re: Making pages writable again in paging_log_dirty mode

To: Mike Sun <msun@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Making pages writable again in paging_log_dirty mode
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Mon, 5 Jan 2009 15:00:59 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 05 Jan 2009 07:01:30 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e4e579070901050653w5c8052c4r84278f30346ee044@xxxxxxxxxxxxxx>
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: <20090102100725.GB12729@xxxxxxxxxxxxxxxxxxxxx> <e4e579070901020850n1b897c1aob521bf28d125b420@xxxxxxxxxxxxxx> <20090102172058.GC12729@xxxxxxxxxxxxxxxxxxxxx> <e4e579070901031743v5234c2c7g4042f7795ba6c180@xxxxxxxxxxxxxx> <e4e579070901031955g266192d5ra7913c8cd2557fca@xxxxxxxxxxxxxx> <e4e579070901041509p13a25b4u9e980eb8c5472356@xxxxxxxxxxxxxx> <20090105101107.GD12729@xxxxxxxxxxxxxxxxxxxxx> <e4e579070901050624q68115393ka97012b9147a2397@xxxxxxxxxxxxxx> <20090105143914.GK12729@xxxxxxxxxxxxxxxxxxxxx> <e4e579070901050653w5c8052c4r84278f30346ee044@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
At 09:54 -0500 on 05 Jan (1231149240), Mike Sun wrote:
> For ease of correctness, would using something like validate_g1le()
> make all the checks I need (since it calls _sh_propagate down the
> line), assuming I call this while in the context of the same domain as
> v->domain:

Yes, I think so.  The page is already dirty so validate_gl1e should
DTRT, if not necessarily the fastest way.

Of course, if you call it from dom0 you'll end up with the same problem
you had before, of get_page_from_l1e() not refcounting correctly.

Cheers,

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Citrix Systems (R&D) Ltd.
[Company #02300071, SL9 0DZ, UK.]

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