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

[Xen-devel] RE: touching a missing page causes DomU to die

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: touching a missing page causes DomU to die
From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Date: Sat, 22 Jan 2011 16:04:57 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Sat, 22 Jan 2011 08:06:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01BB91C4@trantor>
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: <AEC6C66638C05B468B556EA548C1A77D01BB91C3@trantor> <291EDFCB1E9E224A99088639C47620228CFD923413@xxxxxxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01BB91C4@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acu5Z48OMwafBpkVQ8GiBESrTYPULgACeNMQABDieJAAJiAx0A==
Thread-topic: touching a missing page causes DomU to die
James,

  Then I guess I don't understand why the double buffering code is attempting 
to use the memory you have allocated and handed back to Xen. If your code 
allocated it then nothing else should be trying to use it, right?

  Paul

> -----Original Message-----
> From: James Harper [mailto:james.harper@xxxxxxxxxxxxxxxx]
> Sent: 21 January 2011 21:52
> To: Paul Durrant; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: touching a missing page causes DomU to die
> 
> > >
> > > My Windows PV drivers are crashing during hibernation, and I've
> > > finally
> > > figured out that it's because the windows hibernation mode
> driver
> > > double
> > > buffers memory before handing it to my block device driver, and
> in
> > > doing
> > > so 'touches' some pages of memory I have given back to xen (to
> work
> > > around a domu save crash).
> > >
> >
> > You've given memory belonging to the crash kernel back to Xen?
> >
> 
> My driver allocates a few pages of memory and calls decrease
> reservation
> to give them back to xen. This is to work around a problem saving
> (or
> restoring?) a domu under xen where I need to give back an amount of
> pages equal to the pages xen has given me for setup (grant table I
> think).
> 
> James

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