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/
Home Products Support Community News


[Xen-devel] [PATCH 0/2] x86: improve boot loader module handling

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0/2] x86: improve boot loader module handling
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Tue, 09 Nov 2010 11:20:21 +0000
Delivery-date: Tue, 09 Nov 2010 03:22:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Currently, initrd size is limited by the virtual space available in the
initial mapping. Linux in particular, however, has no need for the
initrd to be mapped at all - it deals with it in terms of physical
addresses, and hence this limitation can be easily removed on the
kernel side (patch - not applicable to the 2.6.18 or pv-ops trees -
attached here for reference).

Additionally, the initrd could get copied around up to three times
(once [32-bit only] in the early boot relocation code, once when
coalescing modules to a single physical address area, and once
when placing it into Dom0's initial mapping). Obviously, when the
initrd is large, this can visibly delay the boot process, but it can
be reduced to a single copy (or, in rare cases, to no copy at all;
in a special case [32-on-64 with huge amounts of memory] two
copy operations may still be needed).

Further, no provisions seem to have existed to avoid a collision
of the area Xen gets relocated to (on x86-64) with any of the

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Attachment: xen-x86_64-unmapped-initrd.patch
Description: Text document

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 0/2] x86: improve boot loader module handling, Jan Beulich <=