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


RE: [Xen-devel] [PATCH] fix page size assumptions in tools

To: "Matt Chapman" <matthewc@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] fix page size assumptions in tools
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 15 Jun 2005 23:03:40 +0800
Delivery-date: Wed, 15 Jun 2005 15:02:54 +0000
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVxHBt6mZ2ybbE9TROlu2ttkKnS9gAnduZA
Thread-topic: [Xen-devel] [PATCH] fix page size assumptions in tools
>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Matt
>Sent: Wednesday, June 15, 2005 4:03 AM
>This patch defines XC_PAGE_SIZE in libxc and removes
>assumptions about the page size being 4096 bytes, in
>preparation for the userspace tools supporting ia64
>Xen (which currently uses a 16KB page size).
>Signed-off-by: Matthew Chapman <matthewc@xxxxxx>

Is that right way for control panel to have such assumption about page
size of Xen? Especially for architectures supporting multiple page size
like IA64, we need a control panel able to run on Xen with any page size
configured, without modification. Even on x86, we can't eliminate the
possibility of special version of Xen + xenolinux with a default 2M page
in the future. :)

A cleaner way may be to add page size info in DOM0_GETDOMAININFO,
together with tot_pages.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>