From owner-p4-projects Sat May 18 22:10:46 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9949E37B40E; Sat, 18 May 2002 22:10:42 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E026437B409 for ; Sat, 18 May 2002 22:10:41 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4J5Af639599 for perforce@freebsd.org; Sat, 18 May 2002 22:10:41 -0700 (PDT) (envelope-from peter@freebsd.org) Date: Sat, 18 May 2002 22:10:41 -0700 (PDT) Message-Id: <200205190510.g4J5Af639599@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 11515 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11515 Change 11515 by peter@peter_ia64 on 2002/05/18 22:09:57 Wind up x86 userland space to 4GB - PAGE_SIZE. It appears that we sneak the gdt and ldt into the page after IA32_USRSTACK. There is nothing magical about the 3GB address. In fact, it is something that we would dearly love to get rid of on i386. :-) Affected files ... ... //depot/projects/ia64/sys/ia64/ia32/ia32_util.h#2 edit Differences ... ==== //depot/projects/ia64/sys/ia64/ia32/ia32_util.h#2 (text+ko) ==== @@ -49,7 +49,7 @@ int ps_nenvstr; /* the number of environment strings */ }; -#define IA32_USRSTACK (3L*1024*1024*1024) +#define IA32_USRSTACK (4L*1024*1024*1024 - PAGE_SIZE) #define IA32_PS_STRINGS (IA32_USRSTACK - sizeof(struct ia32_ps_strings)) static __inline caddr_t stackgap_init(void); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message