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 05/21] xenpaging: add signal handling

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 05/21] xenpaging: add signal handling
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 2 Dec 2010 10:59:14 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 02 Dec 2010 02:00:53 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1291283958; l=959; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=2lNEdBdkjFcgrZ38tWGFNTXIwXs=; b=Q7v9VLtziYNIkWYxqOOoWmYjB82UGhD8MB0xhD2JPnYo21fdCMuwMsAWSVbW/Cym/6r TXwlxBdkOytJUo5RNqjEMDZuVhAbvsH2ngbyk29H1KRw6l/VcNXFB/Gnl9UKUG4DbCMQI cOvWZXW7UGgU70VSSra5lJcwmuYAEzxP7tY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikVqFs7SmNkqJc+d82q1PX4RdpscMeySRpKqvWK@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: <20101126134901.384130351@xxxxxxxxx> <20101126134903.163026660@xxxxxxxxx> <AANLkTikVqFs7SmNkqJc+d82q1PX4RdpscMeySRpKqvWK@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Fri, Nov 26, George Dunlap wrote:

> Olaf, I haven't been looking at these patches as we've been going
> along, but there seem to be two things happening in this patch not
> mentioned in the description:

This was a "grown" patch.

> * Making xenpaging_teardown() not skip when a tear-down item fails,
> but continue to try to tear down the rest

If a domain is shutting down, xc_mem_event_disable will always fail
because d->is_dying is checked. Thats why I removed the bail_out part.

> * Making return values for the program as a whole (1 for initializing
> the paging, 2 for a failed file open)

return codes are currently not perfect, sometimes -1 is leaked.
I think xenpaging should either return 0 or 1.

> These kinds of things should at least be mentioned in the description;
> and I would personally probably pull them out and put them in a
> separate patch.

Will do better next time.
Thanks for the comment.


Olaf


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

<Prev in Thread] Current Thread [Next in Thread>