Date: Wed, 29 Dec 1999 07:45:01 -0800 (PST) From: Jason Evans <jasone@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_create.c uthread_init.c Message-ID: <199912291545.HAA42995@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 1999/12/29 07:45:01 PST Modified files: lib/libc_r/uthread pthread_private.h uthread_create.c uthread_init.c Log: Don't explicitly mmap() red zones at the bottom of thread stacks (except the initial thread). Instead, just leave an unmapped gap between thread stacks and make sure that the thread stacks won't grow into these gaps, simply by limiting the size of the stacks with the 'len' argument to mmap(). This (if I understand correctly) reduces VM overhead considerably. Reviewed by: deischen Revision Changes Path 1.32 +19 -6 src/lib/libc_r/uthread/pthread_private.h 1.23 +2 -11 src/lib/libc_r/uthread/uthread_create.c 1.21 +8 -2 src/lib/libc_r/uthread/uthread_init.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912291545.HAA42995>