From owner-freebsd-alpha Sun Jul 18 3:45:49 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id A88CA15067 for ; Sun, 18 Jul 1999 03:45:40 -0700 (PDT) (envelope-from ticso@cicely8.cicely.de) Received: from cicely7.cicely.de (cicely.de [194.231.9.142]) by mail.du.gtn.com (8.8.6/8.8.6) with ESMTP id MAA13490; Sun, 18 Jul 1999 12:37:22 +0200 (MET DST) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by cicely7.cicely.de (8.9.0/8.9.0) with ESMTP id MAA24876; Sun, 18 Jul 1999 12:36:31 +0200 (CEST) Received: (from ticso@localhost) by cicely8.cicely.de (8.9.3/8.9.2) id MAA88830; Sun, 18 Jul 1999 12:37:22 +0200 (CEST) (envelope-from ticso) Date: Sun, 18 Jul 1999 12:37:21 +0200 From: Bernd Walter To: Doug Rabson Cc: Bernd Walter , freebsd-alpha@freebsd.org Subject: Re: 64bit address space on alpha Message-ID: <19990718123721.A88813@cicely8.cicely.de> References: <19990717214226.A87224@cicely8.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Doug Rabson on Sun, Jul 18, 1999 at 09:27:14AM +0100 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jul 18, 1999 at 09:27:14AM +0100, Doug Rabson wrote: > On Sat, 17 Jul 1999, Bernd Walter wrote: > > > I would like to mmap a large file into a single process address space. > > Is it save to increase MAXDSIZ to more than 4G? > > If not is there already work in progress? > > It should be safe to increase MAXDSIZ. The maximum user address space is > about 4T on FreeBSD/alpha. I have programs which mmap about 12G of device > addresses. I tried to compile a kernel with MAXDSIZ set to 128G and got several overflow compiler warnings: [...] rm -f .depend mv -f .newdep .depend cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 ../../kern/imgact_elf.c ../../kern/imgact_elf.c: In function `exec_elf_imgact': ../../kern/imgact_elf.c:524: warning: integer overflow in expression cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 ../../kern/kern_resource.c ../../kern/kern_resource.c: In function `dosetrlimit': ../../kern/kern_resource.c:411: warning: integer overflow in expression ../../kern/kern_resource.c:412: warning: integer overflow in expression ../../kern/kern_resource.c:413: warning: integer overflow in expression ../../kern/kern_resource.c:414: warning: integer overflow in expression cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 ../../kern/sysv_shm.c ../../kern/sysv_shm.c: In function `shmat': ../../kern/sysv_shm.c:268: warning: integer overflow in expression cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 ../../vm/vm_glue.c ../../vm/vm_glue.c: In function `vm_init_limits': ../../vm/vm_glue.c:291: warning: integer overflow in expression cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 ../../vm/vm_mmap.c ../../vm/vm_mmap.c: In function `mmap': ../../vm/vm_mmap.c:233: warning: integer overflow in expression ../../vm/vm_mmap.c:234: warning: integer overflow in expression Generating kernel linker sets cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 ../../alpha/alpha/setdef0.c cc -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 -c config.c cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 ../../alpha/alpha/setdef1.c sh ../../conf/newvers.sh CICELY9 cc -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 -c vers.c linking kernel.debug [...] Are these realy save to ignore? -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message