Re: [PATCH] xen: Fix for xen guest with mem > 3.7G

From: Roberto De Ioris
Date: Mon Sep 15 2008 - 02:20:29 EST


On Sun, 2008-09-14 at 23:09 -0700, Jeremy Fitzhardinge wrote:
> Roberto De Ioris wrote:
> > In this way you pass a 64bit integer to the function, but max_pfn in
> > origin is still 32bit.
> >
> > max_pfn need to be 64bit to supporto more than 4GB
> >
>
> No, a 32-bit pfn (page frame number) is sufficient for 2^44 bytes of
> memory. Does this patch work for you?
>
> J


Ops, you are right, pfn is not in bytes ;)

The patch works.

--
Roberto De Ioris
http://unbit.it
JID: roberto@xxxxxxxxxxxxxxx

--
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/