Subject: Re: >4GB of memory on i386
To: Jaromir Dolecek <>
From: Jason Thorpe <>
List: tech-kern
Date: 12/05/1999 09:49:16
On Sun, 5 Dec 1999 18:41:56 +0100 (MET) 
 Jaromir Dolecek <> wrote:

 > While looking at allocsys(), I also noticed one more gotcha -
 > physmem couldn't be int anymore since it's 32bit on i386. That
 > fact would poison bunch of other kernel variables as well. It would
 > probably be necessary to split it into two variables - one for
 > actual physical memory available in machine and one for maximum
 > physical memory available for one process.
 > Anyway, physmem and friends should be unsigned. I didn't look
 > at the sources, but does NetBSD actually work on archs
 > with 32bit, default signed ints with more than 2GB of memory ?

physmem is in units of pages.

        -- Jason R. Thorpe <>