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: [PATCH 3/6] add_to_physmap: Move the code for > XENMEM_a

To: xen-devel@xxxxxxxxxxxxxxxxxxx, jean.guyader@xxxxxxxxxxxxx
Subject: [Xen-devel] Re: [PATCH 3/6] add_to_physmap: Move the code for > XENMEM_add_to_physmap
From: "Andres Lagar-Cavilla" <andres@xxxxxxxxxxxxxxxx>
Date: Mon, 14 Nov 2011 06:17:42 -0800
Cc:
Delivery-date: Mon, 14 Nov 2011 06:18:48 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=lagarcavilla.org; h= message-id:in-reply-to:references:date:subject:from:to:reply-to :mime-version:content-type:content-transfer-encoding; s= lagarcavilla.org; bh=eCAoihal7GOixGrnydkMZgrzG8o=; b=RIUk+1/e2lK vinQbgBJ/PCcG6McDnwT72oNwS7RFjIuFrboFHdMmIQ47FFEZlTFbE2AgFjrnDrI 09GP7PAAL/JziTVqA8iYiJPTA9z4Q+fZ4326uFUM9qxNHByY7XvSAm1zKGS0z4HW 6KU0XjnjlOeU9dIZA1vd9KEJ/zlfwvpM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=lagarcavilla.org; h=message-id :in-reply-to:references:date:subject:from:to:reply-to :mime-version:content-type:content-transfer-encoding; q=dns; s= lagarcavilla.org; b=sFTOBxkJvM0YtO7hUWZntYBJz6OLBzYLxdDWF+V6S/YR rkwDCGtQFlPdT3BCL3ASZaLCwcBHJiZDuA+lRjEw8C+xr/cfDdxhnflMpuYg5MZ5 WWKfNWFhly/8niXsi0GVtgelWtFERw/6ncuLchdswdqKb2y/4yQ4IZkJL49+Bok=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111113175006.1EF1C72C36F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20111113175006.1EF1C72C36F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: andres@xxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.21
> Date: Sun, 13 Nov 2011 17:40:49 +0000
> From: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
> Subject: [Xen-devel] [PATCH 3/6] add_to_physmap: Move the code for
>       XENMEM_add_to_physmap
> To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
> Cc: tim@xxxxxxx, allen.m.kay@xxxxxxxxx, keir@xxxxxxx, Jean Guyader
>       <jean.guyader@xxxxxxxxxxxxx>, JBeulich@xxxxxxxx
> Message-ID:
>       <1321206052-18833-4-git-send-email-jean.guyader@xxxxxxxxxxxxx>
> Content-Type: text/plain; charset="utf-8"
>
>
> Move the code for the XENMEM_add_to_physmap case into it's own
> function (xenmem_add_to_physmap).
>
> Signed-off-by: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
> ---
Jean, with the p2m API changes, your patch won't compile any more.

gfn_to_mfn* is now get_gfn*, with the need to put_gfn once done working
with the p2m translation. From what I've seen, your patch need not worry
about put_gfn, although it needs rebasing.

Andres

>  xen/arch/x86/mm.c |  189
> ++++++++++++++++++++++++++++-------------------------
>  1 files changed, 100 insertions(+), 89 deletions(-)
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: 0003-add_to_physmap-Move-the-code-for-XENMEM_add_to_physm.patch
> Type: text/x-patch
> Size: 6630 bytes
> Desc: not available
> Url :
> http://lists.xensource.com/archives/html/xen-devel/attachments/20111113/13c22ac8/0003-add_to_physmap-Move-the-code-for-XENMEM_add_to_physm.bin
>
> ------------------------------
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
> End of Xen-devel Digest, Vol 81, Issue 163
> ******************************************
>



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: [PATCH 3/6] add_to_physmap: Move the code for > XENMEM_add_to_physmap, Andres Lagar-Cavilla <=