From owner-cvs-all@FreeBSD.ORG Fri Jun 20 00:35:31 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 921C237B401; Fri, 20 Jun 2003 00:35:31 -0700 (PDT) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AC5843F85; Fri, 20 Jun 2003 00:35:29 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id A0B93218231; Fri, 20 Jun 2003 16:35:27 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h5K7ZR3V029063; Fri, 20 Jun 2003 16:35:27 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])3.3.5-GR) with ESMTP id AIZ82437; Fri, 20 Jun 2003 16:35:25 +0900 (JST) Date: Fri, 20 Jun 2003 16:35:25 +0900 Message-ID: From: Hidetoshi Shimokawa To: Peter Wemm In-Reply-To: References: <20030620044141.8B0652A8C8@canning.wemm.org> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 pmap.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 07:35:32 -0000 At Fri, 20 Jun 2003 14:04:53 +0900, Hidetoshi Shimokawa wrote: > > At Thu, 19 Jun 2003 21:41:41 -0700, > Peter Wemm wrote: > > > > Hidetoshi Shimokawa wrote: > > > At Thu, 19 Jun 2003 12:02:04 -0700, > > > Peter Wemm wrote: > > > > > Modified files: > > > > > sys/amd64/amd64 pmap.c > > > > > Log: > > > > > Fix direct map page table for 2GB+ physical memory. > > > > > > > > Thank you! :-) > > > > > > > > Cheers, > > > > -Peter > > > > > > Do you have any plan to increase KVA up to 512GB? > > > struct vm_page consumes 250MB space for 8GB memory. > > > > Yes, once I return from my trip, which should be next week. It shouldn't > > be too hard, it probably is a relatively simple matter of increasing the > > slots reserved for growing KVM, and teaching pmap_growkernel how to grow > > downwards.... OK, maybe thats easier said than done. :-) > > I though there are something other than that to change KERNBASE. > I understand what we should do. I made patch for that, http://www.sat.t.u-tokyo.ac.jp/~simokawa/amd64/kva.patch.txt (include /dev/kmem fix for direct map and debug code) I failed to link kernel for 2GB+ KVA space (set KPDPI to (NPDPEPG-4)). Linker produces the following errors: locore.o: In function `btext': /usr/obj/amd64/export/home/src/sys/FireWire/{standard input}:53: relocation truncated to fit: R_X86_64_32S .bss cam.o: In function `cam_fetch_status_entry':/export/home/src/sys/cam/cam.c:187:relocation truncated to fit: R_X86_64_32S .text ..... Do you have any idea? /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html