lkml.org 
[lkml]   [2008]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] xen: Fix for xen guest with mem > 3.7G
From
Date
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@jabber.unbit.it



\
 
 \ /
  Last update: 2008-09-15 08:23    [W:0.075 / U:43.012 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site