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 10 of 12] xen: implement save/restore

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 10 of 12] xen: implement save/restore
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 2 Jun 2008 18:21:44 +0900
Cc: "Rafael J. Wysocki" <rjw@xxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>
Delivery-date: Mon, 02 Jun 2008 02:22:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <9e8d06e5ae8024829836.1211550077@localhost>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1211550067@localhost> <9e8d06e5ae8024829836.1211550077@localhost>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Fri, May 23, 2008 at 02:41:17PM +0100, Jeremy Fitzhardinge wrote:
> diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
> --- a/drivers/xen/manage.c
> +++ b/drivers/xen/manage.c
...
> +static int xen_suspend(void *data)
> +{
> +     int *cancelled = data;
> +
> +     BUG_ON(!irqs_disabled());
> +
> +     load_cr3(swapper_pg_dir);

What is the purpose of load_cr3() here?
I'd like to make this load_cr3() more arch generic for ia64 support.
(or eliminate it if possible)
-- 
yamahata

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

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