Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 23:26:31 +0100
From:      Andre Oppermann <andre@freebsd.org>
To:        Alan Cox <alc@rice.edu>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r243631 - in head/sys: kern sys
Message-ID:  <50B68F97.3010206@freebsd.org>
In-Reply-To: <50B64BE8.3040708@rice.edu>
References:  <201211272119.qARLJxXV061083@svn.freebsd.org> <50B64BE8.3040708@rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28.11.2012 18:37, Alan Cox wrote:
> I'm pretty sure that the "realmem" calculation is going to overflow on
> i386/PAE, where the number of bytes of physical memory is greater than
> the type long can represent.

Right.  long == int on i386/PAE, not LP64.  Is uint64_t the correct type
to use to catch that?

-- 
Andre




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