From owner-p4-projects@FreeBSD.ORG Thu May 22 20:47:35 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9F7C337B404; Thu, 22 May 2003 20:47:34 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4829437B401 for ; Thu, 22 May 2003 20:47:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E59C343F3F for ; Thu, 22 May 2003 20:47:33 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4N3lX0U006963 for ; Thu, 22 May 2003 20:47:33 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4N3lXsE006960 for perforce@freebsd.org; Thu, 22 May 2003 20:47:33 -0700 (PDT) Date: Thu, 22 May 2003 20:47:33 -0700 (PDT) Message-Id: <200305230347.h4N3lXsE006960@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 31672 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 03:47:35 -0000 http://perforce.freebsd.org/chv.cgi?CH=31672 Change 31672 by peter@peter_hammer on 2003/05/22 20:47:07 move the recursive pml4 slot to the bottom of the negative address space, to leave all 256 positive slots for userland, for a total of 128TB of user space. I haven't increased NUPML4E though because I'm not sure how the 'unsigned pindex' stuff is going to go, and haven't investigated the vm_page_t hold_count stuff for the page table pages. It should be save to increase it from 1 to 2 though, thats 1TB of user VM space. That should be enough for a 'beta' release :-) Affected files ... .. //depot/projects/hammer/sys/amd64/include/pmap.h#9 edit .. //depot/projects/hammer/sys/amd64/include/vmparam.h#8 edit Differences ... ==== //depot/projects/hammer/sys/amd64/include/pmap.h#9 (text+ko) ==== @@ -113,7 +113,7 @@ /* * The *PDI values control the layout of virtual memory */ -#define PML4PML4I 1 +#define PML4PML4I (NPML4EPG/2) /* Index of recursive pml4 mapping */ #define KPML4I (NPML4EPG-1) #define DMPML4I (KPML4I-1) ==== //depot/projects/hammer/sys/amd64/include/vmparam.h#8 (text+ko) ==== @@ -103,7 +103,7 @@ #define UPT_MAX_ADDRESS VADDR(PML4PML4I, PML4PML4I, PML4PML4I, PML4PML4I) #define UPT_MIN_ADDRESS VADDR(PML4PML4I, 0, 0, 0) -#define VM_MAXUSER_ADDRESS UPT_MIN_ADDRESS +#define VM_MAXUSER_ADDRESS VADDR(NUPML4E, 0, 0, 0) #define USRSTACK VM_MAXUSER_ADDRESS