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-ia64-devel

Re: [Xen-ia64-devel] [PATCH] introduce dom0_vhpt_size_log2 boot option t

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] introduce dom0_vhpt_size_log2 boot option to change dom0 vhpt size
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 21 Jan 2008 11:55:06 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 20 Jan 2008 18:55:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1200690413.7133.19.camel@lappy>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080118035823.GC24357%yamahata@xxxxxxxxxxxxx> <1200690413.7133.19.camel@lappy>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Fri, Jan 18, 2008 at 02:06:53PM -0700, Alex Williamson wrote:
> On Fri, 2008-01-18 at 12:58 +0900, Isaku Yamahata wrote:
> > introduce dom0_vhpt_size_log2 boot option to change dom0 vhpt size
>    Seems like this needs a default value and maybe some sanity checking
> for valid values.  Thanks,

pervcpu_vhpt_alloc() takes care of those issues like domU case.
The default value of dom0_vhpt_size_log2 is 0. In this case
pervcpu_vhpt_alloc() sets the vhpt size to VHPT_SIZE_LOG2.
When the value is specified, pervcpu_vhpt_alloc() calls
canonicalize_vhpt_size() which does sanity checking.

-- 
yamahata

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