Re: [Xen-devel] [PATCH 10 of 12] xen: implement save/restore

From: Isaku Yamahata
Date: Mon Jun 02 2008 - 05:21:54 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/