Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 1998 23:06:44 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        Doug Rabson <dfr@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/alpha/alpha vm_machdep.c machdep.c fp_emulate.c trap.c src/sys/alpha/include vmparam.h src/sys/kern init_main.c kern_exec.c src/sys/sys imgact.h 
Message-ID:  <Pine.BSF.4.01.9812302303310.1813-100000@herring.nlsystems.com>
In-Reply-To: <199812302028.MAA05583@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Dec 1998, Mike Smith wrote:

> > dfr         1998/12/30 02:38:59 PST
> > 
> >   Modified files:
> >     sys/alpha/alpha      vm_machdep.c machdep.c fp_emulate.c 
> >                          trap.c 
> >     sys/alpha/include    vmparam.h 
> >     sys/kern             init_main.c kern_exec.c 
> >     sys/sys              imgact.h 
> >   Log:
> >   Various changes to support OSF1 emulation:
> >   
> >   * Move the user stack from VM_MAXUSER_ADDRESS to a place below the 32bit
> >     boundary (needed to support 32bit OSF programs).  This should also save
> >     one pagetable per process.
> 
> Does this prevent us from using any memory in the user process above 
> the 32-bit boundary?  Or can it still be mapped/allocated with the 
> stack region just treated as "already allocated"?
> 
> Some of the indications from the Linux camp suggest that if you give 
> people access to more than 4G of process address space, they're going 
> to use it.  Precluding this would be somewhat of a lose.

No.  Its just the user stack and even then its only below (1<<32) by
default because BSD traditionally has a fixed location for the user stack.
Even that wouldn't be hard to change IMHO.  The standard text base address
for user programs is 0x120000000 so we already force function pointers to
be 64bit.  OSF1 uses 0x120000000-(a bit) for the user stack of 64bit
programs (I think) and some other smaller address for 32bit programs.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9812302303310.1813-100000>