[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: Making pages writable again in paging_log_dirty mode



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.