Date: Sun, 18 Jul 1999 12:37:21 +0200 From: Bernd Walter <ticso@cicely.de> To: Doug Rabson <dfr@nlsystems.com> Cc: Bernd Walter <ticso@cicely.de>, freebsd-alpha@freebsd.org Subject: Re: 64bit address space on alpha Message-ID: <19990718123721.A88813@cicely8.cicely.de> In-Reply-To: <Pine.BSF.4.10.9907180924250.58023-100000@salmon.nlsystems.com>; from Doug Rabson on Sun, Jul 18, 1999 at 09:27:14AM %2B0100 References: <19990717214226.A87224@cicely8.cicely.de> <Pine.BSF.4.10.9907180924250.58023-100000@salmon.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990718123721.A88813>