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

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


  • To: "Matt Chapman" <matthewc@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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
Chapman
>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).
>
>Matt
>
>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.

Thanks,
Kevin

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


 


Rackspace

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