[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch] was Re: [Xen-ia64-devel] Good projects for someone



Le Mardi 03 Janvier 2006 12:12, Tristan Gingold a écrit :
> Le Jeudi 22 Décembre 2005 19:33, Magenheimer, Dan (HP Labs Fort Collins) a
>
> écrit :
> > 1) While working on the domU fix earlier in the week, I
> > discovered that Xen/ia64 still ignores any machine memory
> > at an address > 4GB (see xen/arch/ia64/linux-xen/efi.c and
> > search for "hack").  I think nearly all Itanium machines
> > leave some portion of 1GB-4GB unpopulated so most memory
> > is getting wasted!  I think CONFIG_VIRTUAL_MEM_MAP needs
> > to be implemented to fix this.  (Removing the hack causes
> > a "Not enough memory for frametable" panic.)
Hi,

I tried to remove the hack, but I got only a fatal error when dom0 was built.
Here is a patch which fixes the issue: dom0 image was not correctly protected
from memory allocator.

I also remove the hack since it seems to work.  My machine has 8GB.  The 
frame_table uses about 55MB (72 bytes per page)!

I am not sure we need a virtual memmap, if I understand correctly what it is.
The current approach simply wastes many memory in unused frame_table entries.

Tristan.

Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>


Attachment: xen-4gb.diffs
Description: Text Data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.