From owner-freebsd-ia64 Fri Feb 7 17:11:51 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 66E2A37B401 for ; Fri, 7 Feb 2003 17:11:50 -0800 (PST) Received: from caduceus.fm.intel.com (fmr02.intel.com [192.55.52.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0C6E43FAF for ; Fri, 7 Feb 2003 17:11:49 -0800 (PST) (envelope-from adsharma@unix-os.sc.intel.com) Received: from petasus.fm.intel.com (petasus.fm.intel.com [10.1.192.37]) by caduceus.fm.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 h1815qt29982 for ; Sat, 8 Feb 2003 01:05:52 GMT Received: from unix-os.sc.intel.com (unix-os.sc.intel.com [143.183.96.244]) by petasus.fm.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 h1816ak15184 for ; Sat, 8 Feb 2003 01:06:36 GMT Received: from unix-os.sc.intel.com.intel.com (adsharma-mobl3.sc.intel.com [143.183.130.57]) by unix-os.sc.intel.com (8.11.6/8.11.2) with ESMTP id h181Bkr26574 for ; Fri, 7 Feb 2003 17:11:47 -0800 Date: Fri, 7 Feb 2003 17:11:46 -0800 Message-Id: <200302080111.h181Bkr26574@unix-os.sc.intel.com> To: freebsd-ia64@freebsd.org Subject: Maxmem should be bytes ? From: Arun Sharma 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 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. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message