Skip site navigation (1)Skip section navigation (2)
Date:      13 Feb 2003 16:47:04 -0800
From:      Arun Sharma <arun.sharma@intel.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        freebsd-ia64@FreeBSD.ORG
Subject:   Re: Maxmem should be bytes ?
Message-ID:  <uvfzn1yev.fsf@unix-os.sc.intel.com>
In-Reply-To: <20030214002346.GA1267@athlon.pn.xcllnt.net>
References:  <200302080111.h181Bkr26574@unix-os.sc.intel.com> <u1y2b3eb7.fsf@unix-os.sc.intel.com> <20030214002346.GA1267@athlon.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar <marcel@xcllnt.net> writes:
> On Thu, Feb 13, 2003 at 04:18:20PM -0800, Arun Sharma wrote:
> > Arun Sharma <arun.sharma@intel.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?uvfzn1yev.fsf>