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

[Xen-devel] Re: xen/ia64 and elilo relocation

To: Arun Sharma <arun.sharma@xxxxxxxxx>
Subject: [Xen-devel] Re: xen/ia64 and elilo relocation
From: Stephane Eranian <eranian@xxxxxxxxxx>
Date: Wed, 23 Feb 2005 12:54:32 -0800
Address: HP Labs, 1U-17, 1501 Page Mill road, Palo Alto, CA 94304, USA.
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>, brett@xxxxxx
Delivery-date: Thu, 24 Feb 2005 02:45:54 +0000
E-mail: eranian@xxxxxxxxxx
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <421CD5BE.3030504@xxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organisation: HP Labs Palo Alto
References: <4213F913.9020607@xxxxxxxxx> <20050220164246.GA17261@xxxxxxxxxxxxxxxxx> <421AD0AF.8070906@xxxxxxxxx> <1109091008.21007.50.camel@xxxxxxxxxxxxxxxxxxxxx> <421CD5BE.3030504@xxxxxxxxx>
Reply-to: eranian@xxxxxxxxxx
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
Arun,

> One thing I noticed is that if the loading of initrd (xenlinux) fails, the 
> memory for initrd is freed, but the memory for the main image (xen) is not 
> freed?
> 
I think that's probably it. I don't know what I put
that comment that says "free_kmem() responsibility of loader".
Well, load_initrd() does not free on abort.

You should try the attached patch.

Thanks.

Attachment: elilo-initrd.diff
Description: Text document