Date: Thu, 21 Mar 2002 05:14:57 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 8153 for review Message-ID: <200203211314.g2LDEve14697@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8153 Change 8153 by peter@peter_overcee on 2002/03/21 05:14:51 I spoke too soon. 64 pages (512K) was not enough for gcc/expr.c either, so go for 256 (2MB) and make it a sysctl so I dont have to keep recompiling. :-] Affected files ... ... //depot/projects/ia64/sys/kern/kern_exec.c#8 edit Differences ... ==== //depot/projects/ia64/sys/kern/kern_exec.c#8 (text+ko) ==== @@ -95,6 +95,12 @@ int ps_argsopen = 1; SYSCTL_INT(_kern, OID_AUTO, ps_argsopen, CTLFLAG_RW, &ps_argsopen, 0, ""); +#ifdef __ia64__ +/* XXX HACK */ +static int regstkpages = 256; +SYSCTL_INT(_machdep, OID_AUTO, regstkpages, CTLFLAG_RW, ®stkpages, 0, ""); +#endif + /* * Each of the items is a pointer to a `const struct execsw', hence the * double pointer here. @@ -627,7 +633,7 @@ vm_offset_t bsaddr; bsaddr = USRSTACK - 2*maxssiz; error = vm_map_find(&vmspace->vm_map, 0, 0, &bsaddr, - 64 * PAGE_SIZE, 0, + regstkpages * PAGE_SIZE, 0, VM_PROT_ALL, VM_PROT_ALL, 0); FIRST_THREAD_IN_PROC(imgp->proc)->td_md.md_bspstore = bsaddr; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203211314.g2LDEve14697>