From owner-freebsd-ia64 Thu Feb 13 16:47: 7 2003 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EF4337B401 for ; Thu, 13 Feb 2003 16:47:06 -0800 (PST) Received: from hermes.sc.intel.com (fmr03.intel.com [143.183.121.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00AFF43FB1 for ; Thu, 13 Feb 2003 16:47:06 -0800 (PST) (envelope-from adsharma@unix-os.sc.intel.com) Received: from talaria.sc.intel.com (talaria.sc.intel.com [10.3.253.5]) by hermes.sc.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id h1E0ilM01619; Fri, 14 Feb 2003 00:44:47 GMT Received: from unix-os.sc.intel.com (unix-os.sc.intel.com [143.183.96.244]) by talaria.sc.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.28 2003/01/13 19:44:39 dmccart Exp $) with ESMTP id h1E0gxd06989; Fri, 14 Feb 2003 00:42:59 GMT Received: from unix-os.sc.intel.com.intel.com (adsharma-mobl3.sc.intel.com [143.183.130.145]) by unix-os.sc.intel.com (8.11.6/8.11.2) with ESMTP id h1E0l5r18713; Thu, 13 Feb 2003 16:47:05 -0800 To: Marcel Moolenaar Cc: freebsd-ia64@FreeBSD.ORG Subject: Re: Maxmem should be bytes ? References: <200302080111.h181Bkr26574@unix-os.sc.intel.com> <20030214002346.GA1267@athlon.pn.xcllnt.net> From: Arun Sharma Date: 13 Feb 2003 16:47:04 -0800 In-Reply-To: <20030214002346.GA1267@athlon.pn.xcllnt.net> Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Marcel Moolenaar writes: > On Thu, Feb 13, 2003 at 04:18:20PM -0800, Arun Sharma wrote: > > Arun Sharma writes: > > > > > I found that my VHPT size was limited to 2**15 no matter how much > > > memory I had. I tracked this down to the code in machdep.c:598. > > > > > > physmem is in units of pages and Maxmem is the number of bytes. This > > > incorrect assignment results in a small VHPT size. > > > > I didn't see a response to this message. While VHPT < 2**15 isn't a > > huge issue, this bug could result in other correctness problems. > > Such as? New code that tries to use ia64_ptob(Maxmem) for something other than VHPT sizing would be broken. And of course, it doesn't hurt to have a bigger VHPT on large memory machines :) -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message